dask.array.linalg.lu

dask.array.linalg.lu(a)[source]

Compute the lu decomposition of a matrix.

Returns
p: Array, permutation matrix
l: Array, lower triangular matrix with unit diagonal.
u: Array, upper triangular matrix

Examples

>>> p, l, u = da.linalg.lu(x)