SG++-Doxygen-Documentation
sgpp::optimization::sle_solver::SLESolver Class Referenceabstract

Abstract class for solving systems of linear equations. More...

#include <SLESolver.hpp>

Inheritance diagram for sgpp::optimization::sle_solver::SLESolver:
sgpp::optimization::sle_solver::Armadillo sgpp::optimization::sle_solver::Auto sgpp::optimization::sle_solver::BiCGStab sgpp::optimization::sle_solver::Eigen sgpp::optimization::sle_solver::GaussianElimination sgpp::optimization::sle_solver::Gmmpp sgpp::optimization::sle_solver::UMFPACK

Public Member Functions

 SLESolver ()
 Constructor. More...
 
virtual bool solve (SLE &system, base::DataVector &b, base::DataVector &x) const =0
 Pure virtual method for a solving linear system. More...
 
virtual bool solve (SLE &system, base::DataMatrix &B, base::DataMatrix &X) const
 Virtual method for solving multiple linear systems with different right-hand sides. More...
 
virtual ~SLESolver ()
 Destructor. More...
 

Detailed Description

Abstract class for solving systems of linear equations.

Constructor & Destructor Documentation

sgpp::optimization::sle_solver::SLESolver::SLESolver ( )
inline

Constructor.

virtual sgpp::optimization::sle_solver::SLESolver::~SLESolver ( )
inlinevirtual

Destructor.

References chess::b, and solve().

Member Function Documentation

virtual bool sgpp::optimization::sle_solver::SLESolver::solve ( SLE system,
base::DataVector b,
base::DataVector x 
) const
pure virtual
virtual bool sgpp::optimization::sle_solver::SLESolver::solve ( SLE system,
base::DataMatrix B,
base::DataMatrix X 
) const
inlinevirtual

Virtual method for solving multiple linear systems with different right-hand sides.

Defaults to calling the solve() method for a single right-hand side multiple times.

Parameters
systemsystem to be solved
Bmatrix of right-hand sides
[out]Xmatrix of solutions to the systems
Returns
whether all went well (false if errors occurred)

Reimplemented in sgpp::optimization::sle_solver::Auto, sgpp::optimization::sle_solver::UMFPACK, sgpp::optimization::sle_solver::Armadillo, and sgpp::optimization::sle_solver::Eigen.

References chess::b, sgpp::base::DataMatrix::getColumn(), sgpp::optimization::SLE::getDimension(), sgpp::base::DataMatrix::getNcols(), python.statsfileInfo::i, m, sgpp::base::DataMatrix::resize(), sgpp::base::DataMatrix::setColumn(), and solve().


The documentation for this class was generated from the following file: