LU.hpp
The namespace containing all components of the Reaktoro library.
Definition: Algorithms.hpp:29
Eigen::Ref< const VectorXd > VectorXdConstRef
Convenient alias to Eigen type.
Definition: Matrix.hpp:76
Eigen::PermutationMatrix< Eigen::Dynamic, Eigen::Dynamic > PermutationMatrix
Define an alias to a permutation matrix type of the Eigen library.
Definition: Matrix.hpp:170
Eigen::Ref< const MatrixXd > MatrixXdConstRef
Convenient alias to Eigen type.
Definition: Matrix.hpp:139
The class that computes the full pivoting Auxiliary struct for storing the LU decomposition of a matr...
Definition: LU.hpp:28
MatrixXd L
The lower triangular matrix L in the LU decomposition of the matrix PAQ = LU.
Definition: LU.hpp:60
auto solve(MatrixXdConstRef b) -> MatrixXd
Solve the linear system AX = B using the calculated LU decomposition.
auto trsolve(MatrixXdConstRef B) -> MatrixXd
Solve the linear system tr(A)X = B using the calculated LU decomposition.
LU(MatrixXdConstRef A, VectorXdConstRef W)
Construct a LU instance with given matrix and scaling column-weights.
MatrixXd U
The upper triangular matrix U in the LU decomposition of the matrix PAQ = LU.
Definition: LU.hpp:63
PermutationMatrix P
The permutation matrix P in the LU decomposition of the matrix PAQ = LU.
Definition: LU.hpp:66
auto compute(MatrixXdConstRef A) -> void
Compute the LU decomposition of the given matrix.
PermutationMatrix Q
The permutation matrix Q in the LU decomposition of the matrix PAQ = LU.
Definition: LU.hpp:69