SG++-Doxygen-Documentation
Loading...
Searching...
No Matches
sgpp::base::sle_solver::GaussianElimination Class Reference

Linear system solver implementing the direct Gaussian elimination. More...

#include <GaussianElimination.hpp>

Inheritance diagram for sgpp::base::sle_solver::GaussianElimination:
sgpp::base::sle_solver::SLESolver

Public Member Functions

bool solve (SLE &system, DataVector &b, DataVector &x) const override
 
 ~GaussianElimination () override
 Destructor.
 
- Public Member Functions inherited from sgpp::base::sle_solver::SLESolver
 SLESolver ()
 Constructor.
 
virtual bool solve (SLE &system, DataMatrix &B, DataMatrix &X) const
 Virtual method for solving multiple linear systems with different right-hand sides.
 
virtual ~SLESolver ()
 Destructor.
 

Detailed Description

Linear system solver implementing the direct Gaussian elimination.

Constructor & Destructor Documentation

◆ ~GaussianElimination()

sgpp::base::sle_solver::GaussianElimination::~GaussianElimination ( )
override

Destructor.

Member Function Documentation

◆ solve()

bool sgpp::base::sle_solver::GaussianElimination::solve ( SLE system,
DataVector b,
DataVector x 
) const
overridevirtual
Parameters
systemsystem to be solved
bright-hand side
[out]xsolution to the system
Returns
whether all went well (false if errors occurred)

Implements sgpp::base::sle_solver::SLESolver.

References sgpp::base::DataMatrix::getColumn(), sgpp::base::Printer::getInstance(), sgpp::base::SLE::getMatrixEntry(), sgpp::base::Printer::printStatusBegin(), sgpp::base::Printer::printStatusEnd(), and sgpp::base::Printer::printStatusUpdate().


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