array-api
array-api copied to clipboard
RFC document, tooling and other content related to the array API standard
This PR - adds support for computing the complex conjugate via `conj`, which is widely [implemented](https://github.com/data-apis/array-api-comparison/blob/7ecfa9867ec43a28e914b35868c041443d31d772/signatures/mathematical-functions-elementwise/conj.md) by array libraries. - follows the conventions set forth for element-wise mathematical functions. -...
# Complex Number Support > Plan for complex number support in the array API specification. What follows is a plan for adding complex number support to the [2022 array API...
This PR - adds complex number support to `tanh` by documenting special cases. The hyperbolic tangent is an analytical function in the complex plane and has no branch cuts. -...
In conjunction with the Array API, often need some form of random number generation as well. Since this would generate Arrays and be used with Arrays the user has, there...
This PR - adds complex number support to `tan` by documenting special cases. The sine is an analytical function in the complex plane. Thus, the function has no branch cuts....
This PR - adds complex number support to `expm1` by documenting special cases. The exponential function is an entire function in the complex plane. Thus, the function does not have...
Fixes #424. I have used SHOULD here as suggested in the consortium meeting to not disallow NumPy-like "reverse broadcasting" semantics.
I am improving CuPy's documentation and hit this issue... Let's say I want to reference `arange` from the array API. Ideally, I would expect this should work out of box:...
As far as I can tell, the array API doesn't specify how multi-indexing (e.g. `arr[[1, 8, 9]]`) works, either for single axis or multiple axes. I presume this is because...
This PR - updates the broadcasting specification to include examples demonstrating expected behavior when a dimension has size `0`. Namely, size `0` dimensions are **not** special cased. See [gh-404](https://github.com/data-apis/array-api/issues/404). -...