Jake VanderPlas
c7b0d681bd
Remove deprecated jax.experimental.array_api
2025-01-06 15:19:02 -08:00
Jake VanderPlas
c73f306099
Finalize deprecation of jnp.round_
...
PiperOrigin-RevId: 705998500
2024-12-13 14:13:44 -08:00
Jake VanderPlas
f6d58761d1
jax.numpy: implement matvec & vecmat
2024-12-10 16:03:19 -08:00
carlosgmartin
1f114b1cf7
Add numpy.put_along_axis.
2024-11-14 15:23:26 -05:00
Jake VanderPlas
02daf75f97
Add new jnp.cumulative_prod function.
...
This follows the API of the similar function added in NumPy 2.1.0
2024-10-25 13:45:54 -07:00
Jake VanderPlas
635e29a0b9
Implement jax.numpy.spacing
...
Somehow we've missed this numpy API up until now.
2024-10-03 10:40:39 -07:00
Jake VanderPlas
14fa06298e
[array api] Finalize array API in jax.numpy & deprecate jax.experimental.array_api
2024-08-01 11:19:17 -07:00
vfdev-5
d2185d3636
Added trace alias to jnp.linalg
...
Related to #21088
2024-05-29 22:28:44 +00:00
Meekail Zain
ceeb975735
Add new cumulative_sum function to numpy and array_api
2024-04-16 19:57:55 +00:00
Meekail Zain
6bdc83c680
Add new unstack function to numpy/array_api namespaces
2024-04-15 21:03:26 +00:00
Jake VanderPlas
9e01afe7af
Add jax.numpy.trapezoid
...
This function has been added to NumPy in version 2.0, as a replacement
for the already deprecated trapz function.
2024-04-01 13:05:20 -07:00
Jake VanderPlas
fbf7492a2c
Add jnp.isdtype function, following np.isdtype in NumPy 2.0
2024-01-17 12:14:55 -08:00
Jake VanderPlas
989618c5f7
[array api] add jax.numpy.concat
2024-01-12 13:12:09 -08:00
Jake VanderPlas
b08a010949
[array API] add jnp.linalg.diagonal
2024-01-11 12:52:15 -08:00
Jake VanderPlas
1a39d8fdb2
[array API] implement jnp.pow; alias for jnp.power
2024-01-10 14:59:46 -08:00
Jake VanderPlas
4e55086dfb
array api: add jnp.bitwise_* aliases
2024-01-10 14:22:20 -08:00
Jake VanderPlas
9890b23b0a
Add jnp.vecdot
2024-01-10 13:11:37 -08:00
Jake VanderPlas
d673b9bf5c
[array api] add jax.numpy.permute_dims function
2024-01-08 09:30:51 -08:00
Jake VanderPlas
5e957c6063
array api: add unique_* interfaces
2023-12-21 15:49:54 -08:00
Jake VanderPlas
e98bb7c3ab
jax.numpy: add trig aliases acos(h), asin(h), atan(h), atan2
2023-12-19 14:15:29 -08:00
Jake VanderPlas
832ac874bd
jnp.linalg: add matmul, tensordot, & svdvals
2023-12-19 11:36:09 -08:00
Jake VanderPlas
cab63114b4
Remove deprecated function jax.numpy.trapz
...
This was deprecated prior to the JAX 0.4.16 release, so we have now met the 3 month deprecation period specified by the [API Compatiblity Policy](https://jax.readthedocs.io/en/latest/api_compatibility.html ).
PiperOrigin-RevId: 592266215
2023-12-19 09:57:39 -08:00
Jake VanderPlas
e356d76913
Remove a number of deprecated APIs
...
All of these were deprecated prior to the JAX 0.4.16 release, on Sept 18 2023.
As of Monday Dec 18, we have met the 3 month deprecation period specified by the [API Compatiblity Policy](https://jax.readthedocs.io/en/latest/api_compatibility.html ).
PiperOrigin-RevId: 591933493
2023-12-18 10:08:47 -08:00
Jake VanderPlas
0c7b959dac
jnp.linalg: add matrix_norm, matrix_transpose, vector_norm, vector_transpose
...
These have been added upstream to numpy.linalg in NumPy 2.0, as part of the Array API standard.
2023-12-15 14:17:36 -08:00
Jake VanderPlas
fe2ad89209
array api: add jnp.linalg.cross & jnp.linalg.outer
2023-12-12 11:22:31 -08:00
Jake VanderPlas
d77cd9a0f4
Add jax.numpy.astype function
2023-11-30 15:50:22 -08:00
carlosgmartin
3cb504c583
Add jax.numpy.fill_diagonal.
2023-10-20 16:47:46 -04:00
Jake VanderPlas
a09fdf6e2f
Add jax.numpy.bitwise_count()
2023-10-03 13:48:16 -07:00
Jake VanderPlas
19a57e1a01
Deprecate jax.numpy.row_stack
2023-08-22 13:12:49 -07:00
Jake VanderPlas
8bba992f9a
deprecate jax.numpy.issubsctype
2023-08-17 12:27:52 -07:00
Jake VanderPlas
ad8e719b82
Add jnp.ufunc and jnp.frompyfunc
2023-08-10 14:58:18 -07:00
Jake VanderPlas
3fc70d3d8b
Typo: remove stray tick in jax.numpy docs
2023-06-08 01:15:21 -07:00
Jake VanderPlas
3bef6214bb
Deprecate jax.numpy functions alltrue, sometrue, product, cumproduct
2023-06-02 04:10:46 -07:00
Jake VanderPlas
333ff4abbc
Add jnp.matrix_transpose() and jax.Array.mT
...
This is an API proposed by the Python Array API Standard (https://data-apis.org/array-api/2022.12/ ). It's lightweight enough that there's hardly any downside to supporting it in JAX.
2023-05-25 09:02:05 -07:00
Jake VanderPlas
749dc1b95e
Remove deprecated function jnp.msort
2023-03-31 08:24:36 -07:00
Jake VanderPlas
b09b4ba51f
DOC: fix jax.numpy.Array discussion
2023-02-27 10:45:06 -08:00
Jake VanderPlas
7975192f92
Expose jax.typing & update docs
2023-02-13 15:53:08 -08:00
Jake VanderPlas
4fbaee5920
Implement jax.numpy.argpartition
2023-02-08 14:41:39 -08:00
Peter Hawkins
b730ed4645
Remove placeholder functions for unimplemented NumPy functions.
...
These don't seem necessary now JAX has fairly complete coverage of the NumPy API. Also removes the accidental export of _NOT_IMPLEMENTED in several modules.
2023-02-02 13:00:18 -05:00
Jake VanderPlas
217ca5db4b
Add implementation of jnp.partition
2023-01-30 13:50:25 -08:00
Jake VanderPlas
81e627d5bd
DOC: make API doc titles more uniform
2023-01-18 10:59:42 -08:00
Jake VanderPlas
8bde3a0a70
Point to ndarray.at from docstring of unimplemented jnp.put & jnp.place
2022-10-28 14:13:36 -07:00
Felix Hirwa Nshuti
820efab6fa
removed repeated nan_to_num in docs
2022-09-23 06:23:09 +00:00
Jake VanderPlas
2f4c485a54
Add dlpack support to device_array and jax.numpy
2022-07-15 17:31:11 -07:00
Jake VanderPlas
991ad72e24
DeviceArray: Improve support for copy, deepcopy, and pickle
2022-05-19 12:00:58 -07:00
Jiajie Li
128e51c638
Add polydiv to jax.numpy
...
Fix code style, fix tests
Add warning when use polydiv with trim_leading_zeros
Update warning for polydiv
Co-authored-by: Jake Vanderplas <jakevdp@gmail.com>
Enable type check in _CompileAndCheck
Fix cutoff
Fix cut-off in polydiv
Add trim_zeros_tol, remove redundant code in polydiv
Remove unused import
Fix trim_zero_tol usage in polydiv
2022-04-13 18:31:27 +00:00
Jake VanderPlas
fbfc3d8edf
Better error messages for jnp.fromiter and jnp.fromfile
2022-03-29 14:30:32 -07:00
Jake VanderPlas
093b7032a8
Implement jnp.from* array creation functions
2022-03-29 10:52:47 -07:00
Jake VanderPlas
09105b2d58
Update outdated jax.numpy module docs
2022-03-15 11:02:59 -07:00
Jake VanderPlas
ed2550999f
implement jnp.copy
2022-03-01 11:56:36 -08:00