Skip to content

Commit f7cfc2a

Browse files
Add notes for solve()
1 parent c1cd0f6 commit f7cfc2a

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

dpnp/linalg/dpnp_iface_linalg.py

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1624,6 +1624,13 @@ def solve(a, b):
16241624
--------
16251625
:obj:`dpnp.dot` : Returns the dot product of two arrays.
16261626
1627+
Notes
1628+
-----
1629+
The `b` array is only treated as a shape (M,) column vector if it is
1630+
exactly 1-dimensional. In all other instances it is treated as a stack
1631+
of (M, K) matrices. Previously `b` would be treated as a stack of (M,)
1632+
vectors if ``b.ndim`` was equal to ``a.ndim - 1``.
1633+
16271634
Examples
16281635
--------
16291636
>>> import dpnp as dp

0 commit comments

Comments
 (0)