<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/python-packages/numpy.git/numpy/array_api/linalg.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 the implementation of numpy.array_api.vecdot (#21928)</title>
<updated>2022-09-07T16:13:22+00:00</updated>
<author>
<name>Aaron Meurer</name>
<email>asmeurer@gmail.com</email>
</author>
<published>2022-09-07T16:13:22+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/numpy.git/commit/?id=0e960b985843ff99db06f89eadaa9f387b5a65f8'/>
<id>0e960b985843ff99db06f89eadaa9f387b5a65f8</id>
<content type='text'>
* Fix the implementation of numpy.array_api.vecdot

See https://data-apis.org/array-api/latest/API_specification/generated/signatures.linear_algebra_functions.vecdot.html

* Use moveaxis + matmul instead of einsum in vecdot</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* Fix the implementation of numpy.array_api.vecdot

See https://data-apis.org/array-api/latest/API_specification/generated/signatures.linear_algebra_functions.vecdot.html

* Use moveaxis + matmul instead of einsum in vecdot</pre>
</div>
</content>
</entry>
<entry>
<title>MAINT: Fix computation of numpy.array_api.linalg.vector_norm (#21084)</title>
<updated>2022-06-16T00:44:15+00:00</updated>
<author>
<name>Aaron Meurer</name>
<email>asmeurer@gmail.com</email>
</author>
<published>2022-06-16T00:44:15+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/numpy.git/commit/?id=70026c4dde47d89d6a7a4916bfac045e714a5b4f'/>
<id>70026c4dde47d89d6a7a4916bfac045e714a5b4f</id>
<content type='text'>
* Fix computation of numpy.array_api.linalg.vector_norm

Various pieces were incorrect due to a lack of complete coverage of this
function in the array API test suite.

* Fix the output dtype nonstandard vector norm()

Previously it would always give float64 because an internal calculation
involved a NumPy scalar and a Python float. The fix is to use a 0-D array
instead of a NumPy scalar so that it type promotes with the float correctly.

Fixes #21083

I don't have a test for this yet because I'm unclear how exactly to test it.

* Clean up the numpy.array_api.linalg.vector_norm code a little bit</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* Fix computation of numpy.array_api.linalg.vector_norm

Various pieces were incorrect due to a lack of complete coverage of this
function in the array API test suite.

* Fix the output dtype nonstandard vector norm()

Previously it would always give float64 because an internal calculation
involved a NumPy scalar and a Python float. The fix is to use a 0-D array
instead of a NumPy scalar so that it type promotes with the float correctly.

Fixes #21083

I don't have a test for this yet because I'm unclear how exactly to test it.

* Clean up the numpy.array_api.linalg.vector_norm code a little bit</pre>
</div>
</content>
</entry>
<entry>
<title>Fix a type hint in numpy.array_api</title>
<updated>2022-03-29T02:32:39+00:00</updated>
<author>
<name>Aaron Meurer</name>
<email>asmeurer@gmail.com</email>
</author>
<published>2022-03-29T02:32:39+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/numpy.git/commit/?id=4457e37b39bfc660beb8be579b282e5acbae1b5f'/>
<id>4457e37b39bfc660beb8be579b282e5acbae1b5f</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Properly restrict the input dtypes for the array_api trace, svdvals, and vecdot</title>
<updated>2022-03-29T00:12:42+00:00</updated>
<author>
<name>Aaron Meurer</name>
<email>asmeurer@gmail.com</email>
</author>
<published>2022-03-29T00:12:42+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/numpy.git/commit/?id=f375d71ca101db9541b1e70476999b574634556d'/>
<id>f375d71ca101db9541b1e70476999b574634556d</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Remove some outdated comments</title>
<updated>2022-03-29T00:12:26+00:00</updated>
<author>
<name>Aaron Meurer</name>
<email>asmeurer@gmail.com</email>
</author>
<published>2022-03-29T00:12:26+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/numpy.git/commit/?id=f306e941ffb0bc49604f5507aa8ea614d933cfd0'/>
<id>f306e941ffb0bc49604f5507aa8ea614d933cfd0</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>
</feed>
