Thanks to visit codestin.com
Credit goes to docs.rs

lu

Function lu 

Source
pub fn lu<T>(input: &Array<T>) -> (Array<T>, Array<T>, Array<i32>)
Expand description

Perform LU decomposition

§Parameters

  • input is the input matrix

§Return Values

A triplet of Arrays.

The first Array will contain the lower triangular matrix of the LU decomposition.

The second Array will contain the lower triangular matrix of the LU decomposition.

The third Array will contain the permutation indices to map the input to the decomposition.