Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | BUG: Fix the implementation of numpy.array_api.vecdot (#21928) | Aaron Meurer | 2022-09-07 | 1 | -1/+12 |
| | | | | | | | * 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 | ||||
* | MAINT: Fix computation of numpy.array_api.linalg.vector_norm (#21084) | Aaron Meurer | 2022-06-15 | 1 | -8/+31 |
| | | | | | | | | | | | | | | | | | | * 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 | ||||
* | Fix a type hint in numpy.array_api | Aaron Meurer | 2022-03-28 | 1 | -1/+1 |
| | |||||
* | Properly restrict the input dtypes for the array_api trace, svdvals, and vecdot | Aaron Meurer | 2022-03-28 | 1 | -0/+6 |
| | |||||
* | Remove some outdated comments | Aaron Meurer | 2022-03-28 | 1 | -2/+0 |
| | |||||
* | ENH: Add the linalg extension to the array_api submodule (#19980) | Aaron Meurer | 2021-11-14 | 1 | -0/+408 |