31 #ifndef _LINEARSYSTEM_HHP_ 32 #define _LINEARSYSTEM_HHP_ 34 #include <Eigen/Dense> 35 #include <Eigen/SparseCore> 62 virtual bool SolveSystem(Eigen::SparseMatrix<double> &A, Eigen::VectorXd &b) = 0;
virtual ~LinearSystem()=0
Destroys this LinearSystem object.
LinearSystem()
Creates a LinearSystem object.
virtual const Eigen::VectorXd & GetSolution()=0
Gets the solution vector.
virtual bool SolveSystem(Eigen::SparseMatrix< double > &A, Eigen::VectorXd &b)=0
Solve the linear system.
Virtual class for solving a linear system of the form Ax = b.
Definition: LinearSystem.hpp:44