Skip to content

Commit 23ad15d

Browse files
Apply docs remarks
1 parent 9aaff82 commit 23ad15d

File tree

1 file changed

+13
-7
lines changed

1 file changed

+13
-7
lines changed

dpnp/linalg/dpnp_iface_linalg.py

Lines changed: 13 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -970,7 +970,7 @@ def lu_factor(a, overwrite_a=False, check_finite=True):
970970

971971
def lu_solve(lu_and_piv, b, trans=0, overwrite_b=False, check_finite=True):
972972
"""
973-
Solve an equation system, a x = b, given the LU factorization of `a`.
973+
Solve a linear system, :math:`a x = b`, given the LU factorization of `a`.
974974
975975
For full documentation refer to :obj:`scipy.linalg.lu_solve`.
976976
@@ -983,13 +983,15 @@ def lu_solve(lu_and_piv, b, trans=0, overwrite_b=False, check_finite=True):
983983
trans : {0, 1, 2} , optional
984984
Type of system to solve:
985985
986-
===== =========
986+
===== =================
987987
trans system
988-
===== =========
989-
0 a x = b
990-
1 a^T x = b
991-
2 a^H x = b
992-
===== =========
988+
===== =================
989+
0 :math:`a x = b`
990+
1 :math:`a^T x = b`
991+
2 :math:`a^H x = b`
992+
===== =================
993+
994+
Default: ``0``.
993995
overwrite_b : {None, bool}, optional
994996
Whether to overwrite data in `b` (may increase performance).
995997
@@ -1011,6 +1013,10 @@ def lu_solve(lu_and_piv, b, trans=0, overwrite_b=False, check_finite=True):
10111013
This function synchronizes in order to validate array elements
10121014
when ``check_finite=True``.
10131015
1016+
See Also
1017+
--------
1018+
:obj:`dpnp.linalg.lu_factor` : LU factorize a matrix.
1019+
10141020
Examples
10151021
--------
10161022
>>> import dpnp as np

0 commit comments

Comments
 (0)