You are here: Symbol Reference > MtxVec Namespace > Classes > TMtx Class > public > LQR Method > TMtx.LQR Method (TMtx, TMtx, TMtx, TVecInt, boolean)
MtxVec VCL
ContentsIndex
PreviousUpNext
TMtx.LQR Method (TMtx, TMtx, TMtx, TVecInt, boolean)

QR or LQ factorization.

Pascal
function LQR(const L: TMtx; Q: TMtx; const R: TMtx; const P: TVecInt; Minimized: boolean = true): TMtx; overload;

Performs QR factorization with optional pivoting or LQ factorization. The pivoting of columns in the calling matrix is performed only when P is not nil and Rows > Cols

The P[i] holds the permutation of columns in A, so that:

P(A) = Q*R
Copyright (c) 1999-2025 by Dew Research. All rights reserved.
What do you think about this topic? Send feedback!