26class DLLEXPORT SolverWrapper{
29 SolverWrapper(
bool verbose=
false);
31 virtual ~SolverWrapper();
33 virtual void setMatrix(
const RSparseMatrix & S){THROW_TO_IMPL;};
35 virtual void setMatrix(
const CSparseMatrix & S){THROW_TO_IMPL;};
37 virtual void solve(
const RVector & rhs, RVector & solution) = 0;
39 virtual void solve(
const CVector & rhs, CVector & solution){ THROW_TO_IMPL;}
41 std::string name()
const {
return name_; }