Skip to content

Commit c3b8403

Browse files
Add Notes for dpnp.linalg.cond()
1 parent 23d7281 commit c3b8403

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

dpnp/linalg/dpnp_iface_linalg.py

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -186,6 +186,14 @@ def cond(x, p=None):
186186
187187
Default: ``None``.
188188
189+
Notes
190+
-----
191+
This function raises :class:`dpnp.linalg.LinAlgError` for singular input
192+
matrices when using norm orders:
193+
``1``, ``-1``, ``inf``, ``-inf``, or ``'fro'``.
194+
In contrast, :obj:`numpy.linalg.cond` returns ``inf``for each singular
195+
matrix in the input regardless of the norm order.
196+
189197
Returns
190198
-------
191199
out : dpnp.ndarray

0 commit comments

Comments
 (0)