declupq

Calculates an upper triangular matrix U, a lower triangular matrix L,permutation matrices P and Q from an inputted matrix using the LUPQ decomposition method.

Arguments

  1. Input matrix A

Output

L,U,P,Q matrices

Examples

declupq