<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/python-packages/numpy.git/numpy/array_api/_statistical_functions.py, branch meson</title>
<subtitle>github.com: numpy/numpy.git
</subtitle>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/numpy.git/'/>
<entry>
<title>BUG: Fix handling of the dtype parameter to numpy.array_api.prod()</title>
<updated>2021-12-07T22:35:20+00:00</updated>
<author>
<name>Aaron Meurer</name>
<email>asmeurer@gmail.com</email>
</author>
<published>2021-12-07T22:35:20+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/numpy.git/commit/?id=19a398ae78c3f35ce3d29d87b35da059558d72b4'/>
<id>19a398ae78c3f35ce3d29d87b35da059558d72b4</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>ENH: Add the linalg extension to the array_api submodule (#19980)</title>
<updated>2021-11-14T21:35:06+00:00</updated>
<author>
<name>Aaron Meurer</name>
<email>asmeurer@gmail.com</email>
</author>
<published>2021-11-14T21:35:06+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/numpy.git/commit/?id=a1813504ad44b70fb139181a9df8465bcb22e24d'/>
<id>a1813504ad44b70fb139181a9df8465bcb22e24d</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>ENH: Updates to numpy.array_api (#19937)</title>
<updated>2021-09-25T22:34:22+00:00</updated>
<author>
<name>Aaron Meurer</name>
<email>asmeurer@gmail.com</email>
</author>
<published>2021-09-25T22:34:22+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/numpy.git/commit/?id=2d112a98ed7597c4120b31908384ae09b0304659'/>
<id>2d112a98ed7597c4120b31908384ae09b0304659</id>
<content type='text'>
* Add __index__ to array_api and update __int__, __bool__, and __float__

The spec specifies that they should only work on arrays with corresponding
dtypes. __index__ is new in the spec since the initial PR, and works
identically to np.array.__index__.

* Add the to_device method to the array_api

This method is new since #18585. It does nothing in NumPy since NumPy does not
support non-CPU devices.

* Update transpose methods in the array_api

transpose() was renamed to matrix_transpose() and now operates on stacks of
matrices. A function to permute dimensions will be added once it is finalized
in the spec. The attribute mT was added and the T attribute was updated to
only operate on 2-dimensional arrays as per the spec.

* Restrict input dtypes in the array API statistical functions

* Add the dtype parameter to the array API sum() and prod()

* Add the function permute_dims() to the array_api namespace

permute_dims() is the replacement for transpose(), which was split into
permute_dims() and matrix_transpose().

* Add tril and triu to the array API namespace

* Fix the array_api Array.__repr__ to indent the array properly

* Make the Device type in the array_api just accept the string "cpu"</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* Add __index__ to array_api and update __int__, __bool__, and __float__

The spec specifies that they should only work on arrays with corresponding
dtypes. __index__ is new in the spec since the initial PR, and works
identically to np.array.__index__.

* Add the to_device method to the array_api

This method is new since #18585. It does nothing in NumPy since NumPy does not
support non-CPU devices.

* Update transpose methods in the array_api

transpose() was renamed to matrix_transpose() and now operates on stacks of
matrices. A function to permute dimensions will be added once it is finalized
in the spec. The attribute mT was added and the T attribute was updated to
only operate on 2-dimensional arrays as per the spec.

* Restrict input dtypes in the array API statistical functions

* Add the dtype parameter to the array API sum() and prod()

* Add the function permute_dims() to the array_api namespace

permute_dims() is the replacement for transpose(), which was split into
permute_dims() and matrix_transpose().

* Add tril and triu to the array API namespace

* Fix the array_api Array.__repr__ to indent the array properly

* Make the Device type in the array_api just accept the string "cpu"</pre>
</div>
</content>
</entry>
<entry>
<title>Run (selective) black on the array_api submodule</title>
<updated>2021-08-07T00:23:04+00:00</updated>
<author>
<name>Aaron Meurer</name>
<email>asmeurer@gmail.com</email>
</author>
<published>2021-08-07T00:22:00+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/numpy.git/commit/?id=8f7d00ed447174d9398af3365709222b529c1cad'/>
<id>8f7d00ed447174d9398af3365709222b529c1cad</id>
<content type='text'>
I've omitted a few changes from black that messed up the readability of some
complicated if statements that were organized logically line-by-line, and some
changes that use unnecessary operator spacing.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
I've omitted a few changes from black that messed up the readability of some
complicated if statements that were organized logically line-by-line, and some
changes that use unnecessary operator spacing.
</pre>
</div>
</content>
</entry>
<entry>
<title>Remove asarray() calls from the array API statistical functions</title>
<updated>2021-08-05T01:57:46+00:00</updated>
<author>
<name>Aaron Meurer</name>
<email>asmeurer@gmail.com</email>
</author>
<published>2021-08-05T01:57:46+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/numpy.git/commit/?id=c23abdc57b2e6c0fa4f939085374c01c1c4452a9'/>
<id>c23abdc57b2e6c0fa4f939085374c01c1c4452a9</id>
<content type='text'>
asarray() is already called in Array._new.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
asarray() is already called in Array._new.
</pre>
</div>
</content>
</entry>
<entry>
<title>Rename numpy._array_api to numpy.array_api</title>
<updated>2021-08-04T22:50:30+00:00</updated>
<author>
<name>Aaron Meurer</name>
<email>asmeurer@gmail.com</email>
</author>
<published>2021-08-04T22:47:05+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/numpy.git/commit/?id=6e57d829cb6628610e163524f203245b247a2839'/>
<id>6e57d829cb6628610e163524f203245b247a2839</id>
<content type='text'>
Instead of the leading underscore, the experimentalness of the module will be
indicated by omitting a warning on import. That we, we do not have to change
the API from underscore to no underscore when the module is no longer
experimental.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Instead of the leading underscore, the experimentalness of the module will be
indicated by omitting a warning on import. That we, we do not have to change
the API from underscore to no underscore when the module is no longer
experimental.
</pre>
</div>
</content>
</entry>
</feed>
