Skip to main content

qr

Overloads

NameDescription
qr(const RealMatrix A) -> ObjectComputes the QR decomposition of a RealMatrix A.. By default, no pivoting is used and the resulting factorization is A = QR, where Q is a unitary matrix and R is upper triangular. To use partial (column) pivoting, provide the option 'pivoting' with value 'partial'. The resulting factorization is AP = QR, where P is a permutation matrix. To use full pivoting, provide the option 'pivoting' with value 'full'.
qr(const ComplexMatrix A) -> ObjectComputes the QR decomposition of a ComplexMatrix A.. By default, no pivoting is used and the resulting factorization is A = QR, where Q is a unitary matrix and R is upper triangular. To use partial (column) pivoting, provide the option 'pivoting' with value 'partial'. The resulting factorization is AP = QR, where P is a permutation matrix. To use full pivoting, provide the option 'pivoting' with value 'full'.
qr(const ComplexMatrix A, const Map options) -> ObjectComputes the QR decomposition of a ComplexMatrix A.
qr(const RealMatrix A, const Map options) -> ObjectComputes the QR decomposition of a RealMatrix A.

qr(const RealMatrix A) -> Object

Computes the QR decomposition of a RealMatrix A.. By default, no pivoting is used and the resulting factorization is A = QR, where Q is a unitary matrix and R is upper triangular. To use partial (column) pivoting, provide the option 'pivoting' with value 'partial'. The resulting factorization is AP = QR, where P is a permutation matrix. To use full pivoting, provide the option 'pivoting' with value 'full'.

Parameters

qr(const ComplexMatrix A) -> Object

Computes the QR decomposition of a ComplexMatrix A.. By default, no pivoting is used and the resulting factorization is A = QR, where Q is a unitary matrix and R is upper triangular. To use partial (column) pivoting, provide the option 'pivoting' with value 'partial'. The resulting factorization is AP = QR, where P is a permutation matrix. To use full pivoting, provide the option 'pivoting' with value 'full'.

Parameters

qr(const ComplexMatrix A, const Map options) -> Object

Computes the QR decomposition of a ComplexMatrix A.

Parameters

  • A: The ComplexMatrix.
  • options: Map of QR options
    • pivoting (string): The QR pivoting to use. Possible values are 'none' (default), 'partial' and 'full'.

qr(const RealMatrix A, const Map options) -> Object

Computes the QR decomposition of a RealMatrix A.

Parameters

  • A: The RealMatrix.
  • options: Map of QR options
    • pivoting (string): The QR pivoting to use. Possible values are 'none' (default), 'partial' and 'full'.