decqrp

Calculates the orthogonal matrix Q and the upper triangular matrix R and the permutation matrix P such that A x P = Q x R ? known as QR decomposition.

Arguments

  1. Input matrix A

Output

Q,R,P matrices

Examples

decqrp