Skip to content

Commit f561ec4

Browse files
Apply remarks
1 parent b7896b7 commit f561ec4

1 file changed

Lines changed: 8 additions & 8 deletions

File tree

dpnp/linalg/dpnp_iface_linalg.py

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -186,14 +186,6 @@ 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-
197189
Returns
198190
-------
199191
out : dpnp.ndarray
@@ -203,6 +195,14 @@ def cond(x, p=None):
203195
--------
204196
:obj:`dpnp.linalg.norm` : Matrix or vector norm.
205197
198+
Notes
199+
-----
200+
This function will raise :class:`dpnp.linalg.LinAlgError` on singular input
201+
when using any of the norm: ``1``, ``-1``, ``inf``, ``-inf``, or ``'fro'``.
202+
In contrast, :obj:`numpy.linalg.cond` will fill the result array with
203+
``inf`` values for every 2D batch in the input array that is singular
204+
when using these norms.
205+
206206
Examples
207207
--------
208208
>>> import dpnp as np

0 commit comments

Comments
 (0)