afp_lu

Perform LU decomposition.

Arguments

  1. Input matrix

Output

Resulting vector, position 0: lower triangular matrix of the LU decomposition, position 1: upper triangular matrix of the LU decomposition, position 2: will contain the permutation indices to map the input to the decomposition

Examples

afp_lu