Numpysane

Latest version: v0.40

Safety actively analyzes 682457 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 2 of 4

0.34

* glue(np.array(()), x) and glue(x, np.array(())) both work

-- Dima Kogan <dkogandebian.org> Thu, 27 May 2021 17:03:33 -0700

0.33

* matmult() supports in-place output via the "out" keyword argument

-- Dima Kogan <dkogandebian.org> Thu, 15 Apr 2021 18:15:46 -0700

0.32

* glue(): minor bug fix

Prior to this fix this would happen:

print( nps.glue(np.array(()),np.arange(5,),
axis=-2). shape )

---> (5,)

This is unintuitive because I glued something along dimension -2, but
the result doesn't even have such a dimension. This patch calls
atleast_dims() right before glue() returns, so that we get a shape
(1,5) instead in this case

-- Dima Kogan <dkogandebian.org> Thu, 25 Mar 2021 18:52:19 -0700

0.31

* broadcast_define(): better out_kwarg logic. If the output is written
in-place, the inner function doesn't need to return anything. And the
broadcast_define()-wrapped function automatically returns the right
thing

-- Dima Kogan <dkogandebian.org> Wed, 03 Feb 2021 12:51:54 -0800

0.30

* numpysane_pywrap can find its C templates even if installed via pip
* numpysane.mag() can take a dtype keyword argument
* mag(), inner(), norm2() now use the given dtype for all their
computations, so selecting an appropriate dtype can prevent overflows

-- Dima Kogan <dkogandebian.org> Mon, 01 Feb 2021 15:31:03 -0800

0.29

* numpysane_pywrap: module docstrings can span multiple lines

-- Dima Kogan <dkogandebian.org> Tue, 17 Nov 2020 12:09:00 -0800

Page 2 of 4

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.