Skip to main content

lu

Overloads

NameDescription
lu(const ComplexMatrix A) -> ObjectComputes the LU decomposition of a ComplexMatrix A.. By default, partial pivoting is used and the resulting factorization is PA = LU, where P is a permutation matrix, L is lower triangular with unit diagonal elements, and U is upper triangular. To use full pivoting instead, provide the option 'pivoting' with value 'full'. The resulting factorization is PAQ = LU, where P and Q are permutation matrices.
lu(const RealMatrix A) -> ObjectComputes the LU decomposition of a RealMatrix A.. By default, partial pivoting is used and the resulting factorization is PA = LU, where P is a permutation matrix, L is lower triangular with unit diagonal elements, and U is upper triangular. To use full pivoting instead, provide the option 'pivoting' with value 'full'. The resulting factorization is PAQ = LU, where P and Q are permutation matrices.
lu(const ComplexMatrix A, const Map options) -> ObjectComputes the LU decomposition of a ComplexMatrix A.
lu(const RealMatrix A, const Map options) -> ObjectComputes the LU decomposition of a RealMatrix A.

lu(const ComplexMatrix A) -> Object

Computes the LU decomposition of a ComplexMatrix A.. By default, partial pivoting is used and the resulting factorization is PA = LU, where P is a permutation matrix, L is lower triangular with unit diagonal elements, and U is upper triangular. To use full pivoting instead, provide the option 'pivoting' with value 'full'. The resulting factorization is PAQ = LU, where P and Q are permutation matrices.

Parameters

lu(const RealMatrix A) -> Object

Computes the LU decomposition of a RealMatrix A.. By default, partial pivoting is used and the resulting factorization is PA = LU, where P is a permutation matrix, L is lower triangular with unit diagonal elements, and U is upper triangular. To use full pivoting instead, provide the option 'pivoting' with value 'full'. The resulting factorization is PAQ = LU, where P and Q are permutation matrices.

Parameters

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

Computes the LU decomposition of a ComplexMatrix A.

Parameters

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

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

Computes the LU decomposition of a RealMatrix A.

Parameters

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