@@ -914,9 +914,11 @@ def lu_factor(a, overwrite_a=False, check_finite=True):
914914 where `P` is a permutation matrix, `L` is lower triangular with unit
915915 diagonal elements, and `U` is upper triangular.
916916
917+ For full documentation refer to :obj:`scipy.linalg.lu_factor`.
918+
917919 Parameters
918920 ----------
919- a : (M, N) {dpnp.ndarray, usm_ndarray}
921+ a : (..., M, N) {dpnp.ndarray, usm_ndarray}
920922 Input array to decompose.
921923 overwrite_a : {None, bool}, optional
922924 Whether to overwrite data in `a` (may increase performance).
@@ -931,13 +933,14 @@ def lu_factor(a, overwrite_a=False, check_finite=True):
931933
932934 Returns
933935 -------
934- lu : (M, N) dpnp.ndarray
935- Matrix containing U in its upper triangle, and L in its lower triangle.
936- The unit diagonal elements of L are not stored.
937- piv : (K, ) dpnp.ndarray
938- Pivot indices representing the permutation matrix P:
936+ lu : (..., M, N) dpnp.ndarray
937+ Matrix containing `U` in its upper triangle,
938+ and `L` in its lower triangle.
939+ The unit diagonal elements of `L` are not stored.
940+ piv : (..., K) dpnp.ndarray
941+ Pivot indices representing the permutation matrix `P`:
939942 row i of matrix was interchanged with row piv[i].
940- ``K = min(M, N)``.
943+ Where ``K = min(M, N)``.
941944
942945 Warning
943946 -------
0 commit comments