![]() |
Eigen
3.3.3
|
A base class for matrix decomposition and solvers.
Derived | the actual type of the decomposition/solver. |
Any matrix decomposition inheriting this base class provide the following API:
MatrixType A, b, x; DecompositionType dec(A); x = dec.solve(b); // solve A * x = b x = dec.transpose().solve(b); // solve A^T * x = b x = dec.adjoint().solve(b); // solve A' * x = b
Public Member Functions | |
AdjointReturnType | adjoint () const |
template<typename Rhs > | |
const Solve< Derived, Rhs > | solve (const MatrixBase< Rhs > &b) const |
SolverBase () | |
ConstTransposeReturnType | transpose () const |
Eigen::SolverBase< Derived >::SolverBase | ( | ) | [inline] |
Default constructor
AdjointReturnType Eigen::SolverBase< Derived >::adjoint | ( | ) | const [inline] |
A typical usage is to solve for the adjoint problem A' x = b:
x = dec.adjoint().solve(b);
For real scalar types, this function is equivalent to transpose().
const Solve<Derived, Rhs> Eigen::SolverBase< Derived >::solve | ( | const MatrixBase< Rhs > & | b | ) | const [inline] |
Reimplemented in Eigen::FullPivLU< _MatrixType >, and Eigen::PartialPivLU< _MatrixType >.
ConstTransposeReturnType Eigen::SolverBase< Derived >::transpose | ( | ) | const [inline] |