#include <StringParser.h>
|
| StringParser () |
|
const std::map< std::string, Variable > & | variables () const |
|
void | setVariables (std::list< std::string > variables) |
|
bool | setImplicitMultiplicationMode (bool to) |
|
void | setSumOfTermsForm (bool to) |
| In SumOfTermsForm, input strings are expected to be of the form "c_1 * m_1 + ... + c_n * m_n", where c_i are coefficients and m_i are monomials. More...
|
|
template<typename C , typename O = typename MultivariatePolynomial<C>::OrderedBy, typename P = typename MultivariatePolynomial<C>::Policy> |
RationalFunction< MultivariatePolynomial< C, O, P > > | parseRationalFunction (const std::string &inputString) const |
|
template<typename C , typename O = typename MultivariatePolynomial<C>::OrderedBy, typename P = typename MultivariatePolynomial<C>::Policy> |
MultivariatePolynomial< C, O, P > | parseMultivariatePolynomial (const std::string &inputString) const |
|
template<typename C > |
Term< C > | parseTerm (const std::string &inputStr) const |
|
Definition at line 69 of file StringParser.h.
◆ StringParser()
carl::io::StringParser::StringParser |
( |
| ) |
|
|
inline |
◆ constructCoefficient()
template<typename C >
C carl::io::StringParser::constructCoefficient |
( |
const std::string & |
inputString | ) |
const |
|
inlineprotected |
◆ parseMultivariatePolynomial()
template<typename C , typename O = typename MultivariatePolynomial<C>::OrderedBy, typename P = typename MultivariatePolynomial<C>::Policy>
MultivariatePolynomial<C, O, P> carl::io::StringParser::parseMultivariatePolynomial |
( |
const std::string & |
inputString | ) |
const |
|
inline |
◆ parseRationalFunction()
template<typename C , typename O = typename MultivariatePolynomial<C>::OrderedBy, typename P = typename MultivariatePolynomial<C>::Policy>
◆ parseTerm()
template<typename C >
Term<C> carl::io::StringParser::parseTerm |
( |
const std::string & |
inputStr | ) |
const |
|
inline |
◆ setImplicitMultiplicationMode()
bool carl::io::StringParser::setImplicitMultiplicationMode |
( |
bool |
to | ) |
|
|
inline |
◆ setSumOfTermsForm()
void carl::io::StringParser::setSumOfTermsForm |
( |
bool |
to | ) |
|
|
inline |
In SumOfTermsForm, input strings are expected to be of the form "c_1 * m_1 + ... + c_n * m_n", where c_i are coefficients and m_i are monomials.
- Parameters
-
- Returns
Definition at line 125 of file StringParser.h.
◆ setVariables()
void carl::io::StringParser::setVariables |
( |
std::list< std::string > |
variables | ) |
|
|
inline |
◆ variables()
const std::map<std::string, Variable>& carl::io::StringParser::variables |
( |
| ) |
const |
|
inline |
◆ mImplicitMultiplicationMode
bool carl::io::StringParser::mImplicitMultiplicationMode = false |
|
protected |
◆ mSingleSymbVariables
bool carl::io::StringParser::mSingleSymbVariables |
|
protected |
◆ mSumOfTermsForm
bool carl::io::StringParser::mSumOfTermsForm = true |
|
protected |
◆ mVars
std::map<std::string, Variable> carl::io::StringParser::mVars |
|
protected |
The documentation for this class was generated from the following file: