SG++-Doxygen-Documentation
sgpp::optimization::sle_solver Namespace Reference

Classes

class  Armadillo
 Linear system solver using Armadillo (direct full solver). More...
 
class  Auto
 Automatic choice of external linear solver. More...
 
class  BiCGStab
 Linear system solver implementing the iterative BiCGStab method. More...
 
class  Eigen
 Linear system solver using Eigen (direct full solver). More...
 
class  GaussianElimination
 Linear system solver implementing the direct Gaussian elimination. More...
 
class  Gmmpp
 Linear system solver using Gmm++ (iterative sparse solver). More...
 
class  SLESolver
 Abstract class for solving systems of linear equations. More...
 
class  UMFPACK
 Linear system solver using UMFPACK (direct sparse solver). More...
 

Functions

void addSLESolver (SLESolver *solver, std::vector< SLESolver *> &solvers, const std::map< SLESolver *, bool > &supports)
 Add a solver to the vector of solvers, if the solver is supported (e.g. More...
 

Function Documentation

◆ addSLESolver()

void sgpp::optimization::sle_solver::addSLESolver ( SLESolver solver,
std::vector< SLESolver *> &  solvers,
const std::map< SLESolver *, bool > &  supports 
)

Add a solver to the vector of solvers, if the solver is supported (e.g.

SG++ configured and compiled for use with the solve) and it's not already in the vector.

Parameters
solverlinear solver
solversvector of solvers
supportsmap indicating which solvers are supported

Referenced by sgpp::optimization::sle_solver::Auto::solve().