@@ -1073,7 +1073,7 @@ def matrix_rank(A, tol=None, hermitian=False, *, rtol=None):
1073
1073
----------
1074
1074
A : {(M,), (..., M, N)} {dpnp.ndarray, usm_ndarray}
1075
1075
Input vector or stack of matrices.
1076
- tol : (...) {float, dpnp.ndarray, usm_ndarray}, optional
1076
+ tol : (...) {None, float, dpnp.ndarray, usm_ndarray}, optional
1077
1077
Threshold below which SVD values are considered zero. Only `tol` or
1078
1078
`rtol` can be set at a time. If none of them are provided, defaults
1079
1079
to ``S.max() * max(M, N) * eps`` where `S` is an array with singular
@@ -1083,7 +1083,7 @@ def matrix_rank(A, tol=None, hermitian=False, *, rtol=None):
1083
1083
If ``True``, `A` is assumed to be Hermitian (symmetric if real-valued),
1084
1084
enabling a more efficient method for finding singular values.
1085
1085
Default: ``False``.
1086
- rtol : (...) {float, dpnp.ndarray, usm_ndarray}, optional
1086
+ rtol : (...) {None, float, dpnp.ndarray, usm_ndarray}, optional
1087
1087
Parameter for the relative tolerance component. Only `tol` or `rtol`
1088
1088
can be set at a time. If none of them are provided, defaults to
1089
1089
``max(M, N) * eps`` where `eps` is the epsilon value for datatype
@@ -1479,7 +1479,7 @@ def pinv(a, rcond=None, hermitian=False, *, rtol=None):
1479
1479
----------
1480
1480
a : (..., M, N) {dpnp.ndarray, usm_ndarray}
1481
1481
Matrix or stack of matrices to be pseudo-inverted.
1482
- rcond : (...) {float, dpnp.ndarray, usm_ndarray}, optional
1482
+ rcond : (...) {None, float, dpnp.ndarray, usm_ndarray}, optional
1483
1483
Cutoff for small singular values.
1484
1484
Singular values less than or equal to ``rcond * largest_singular_value``
1485
1485
are set to zero. Broadcasts against the stack of matrices.
@@ -1490,7 +1490,7 @@ def pinv(a, rcond=None, hermitian=False, *, rtol=None):
1490
1490
If ``True``, a is assumed to be Hermitian (symmetric if real-valued),
1491
1491
enabling a more efficient method for finding singular values.
1492
1492
Default: ``False``.
1493
- rtol : (...) {float, dpnp.ndarray, usm_ndarray}, optional
1493
+ rtol : (...) {None, float, dpnp.ndarray, usm_ndarray}, optional
1494
1494
Same as `rcond`, but it's an Array API compatible parameter name.
1495
1495
Only `rcond` or `rtol` can be set at a time. If none of them are
1496
1496
provided, defaults to ``max(M, N) * dpnp.finfo(a.dtype).eps``.
0 commit comments