SG++-Doxygen-Documentation
Loading...
Searching...
No Matches
sgpp::solver::SLESolverTypeParser Class Reference

Convenience class to convert strings to sgpp::solver::SLESolverType and generate string representations for values of sgpp::solver::SLESolverType. More...

#include <SLESolverTypeParser.hpp>

Static Public Member Functions

static SLESolverType parse (const std::string &input)
 Convert strings to values sgpp::solver::SLESolverType.
 
static const std::string & toString (SLESolverType type)
 generate string representations for values of sgpp::solver::SLESolverType.
 

Detailed Description

Convenience class to convert strings to sgpp::solver::SLESolverType and generate string representations for values of sgpp::solver::SLESolverType.

Member Function Documentation

◆ parse()

SLESolverType sgpp::solver::SLESolverTypeParser::parse ( const std::string &  input)
static

Convert strings to values sgpp::solver::SLESolverType.

Throws if there is no valid representation

Parameters
inputcase insensitive string representation of a sgpp::solver::SLESolverType.
Returns
the corresponding sgpp::solver::SLESolverType.

References sgpp::solver::BiCGSTAB, sgpp::solver::CG, and sgpp::solver::FISTA.

◆ toString()


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