Class linear_solver_eigen_LDLT (o2scl_linalg)¶
-
template<class eigen_vec_t, class eigen_mat_t>
class linear_solver_eigen_LDLT : public o2scl_linalg::linear_solver<eigen_vec_t, eigen_mat_t>¶ Eigen linear solver using LDLT decomposition with full pivoting.
This requires the matrix
A
to be positive or negative semidefinite.This class is only defined if Eigen support was enabled during installation.
Public Functions
-
inline virtual void solve(size_t n, eigen_mat_t &A, eigen_vec_t &b, eigen_vec_t &x)¶
Solve square linear system \( A x = b \) of size
n
.
-
inline virtual void solve(size_t n, eigen_mat_t &A, eigen_vec_t &b, eigen_vec_t &x)¶