ShapeOp
0.1.0
|
Sparse linear system solver based on CG. This class implements a sparse linear system solver based on the CG algorithm from Eigen. More...
#include <LSSolver.h>
Public Member Functions | |
virtual void | initialize (const SparseMatrix &A, unsigned int iteration) overridefinal |
Initialize PCG. | |
virtual VectorX | solve (const VectorX &b, const VectorX &x0) const overridefinal |
Solve the linear system by applying CG. | |
virtual Eigen::ComputationInfo | info () const overridefinal |
Reports whether previous computation was successful. | |
Sparse linear system solver based on CG. This class implements a sparse linear system solver based on the CG algorithm from Eigen.