From 75b56548e28ec5cfca8eada4a8a892e299da7dee Mon Sep 17 00:00:00 2001 From: liblaf <30631553+liblaf@users.noreply.github.com> Date: Mon, 23 Dec 2024 17:18:45 +0800 Subject: [PATCH] Fix a typo in documentation for `pinv` function. --- jax/_src/numpy/linalg.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/jax/_src/numpy/linalg.py b/jax/_src/numpy/linalg.py index 02ca6f6ebab2..ff4e4e07e0e6 100644 --- a/jax/_src/numpy/linalg.py +++ b/jax/_src/numpy/linalg.py @@ -924,7 +924,7 @@ def pinv(a: ArrayLike, rtol: ArrayLike | None = None, - :func:`jax.numpy.linalg.inv`: multiplicative inverse of a square matrix. Notes: - :func:`jax.numpy.linalg.prng` differs from :func:`numpy.linalg.prng` in the + :func:`jax.numpy.linalg.pinv` differs from :func:`numpy.linalg.pinv` in the default value of `rcond``: in NumPy, the default is `1e-15`. In JAX, the default is ``10. * max(num_rows, num_cols) * jnp.finfo(dtype).eps``.