The LQ command takes a matrix A as argument.
LQ returns three matrices L, Q and
P. If A is an m × n matrix, then L
will be an m× n lower triangular matrix, Q will be an
n× n orthogonal matrix, and P will be an n× n
permutation matrix.
Input:
Output:
Here, L*Q is the same as P*A.
Input:
or:
Again, L*Q = P*A.