carl
24.04
Computer ARithmetic Library
|
#include <PolynomialParser.h>
Public Member Functions | |
PolynomialParser () | |
void | addVariable (Variable::Arg v) |
Private Types | |
enum | Operation { ADD , SUB } |
Private Member Functions | |
Variable | newVariable (const std::string &s) |
Monomial::Arg | newMonomial (const std::vector< boost::fusion::vector2< Variable, typename Pol::CoeffType >> &data) const |
Term< typename Pol::CoeffType > | newTerm (const boost::optional< typename Pol::CoeffType > &c, const boost::optional< Monomial::Arg > &m) |
Pol | addTerms (const Term< typename Pol::CoeffType > &first, const std::vector< boost::fusion::vector2< Operation, Term< typename Pol::CoeffType >>> &ops) |
Pol | mul (const std::vector< Pol > &ops) |
Pol | addPolynomials (const Pol &first, const std::vector< boost::fusion::vector2< Operation, Pol >> &ops) |
Private Attributes | |
qi::symbols< char, Operation > | operation |
qi::symbols< char, Variable > | varmap |
qi::rule< Iterator, std::string(), Skipper > | varname |
qi::real_parser< typename Pol::CoeffType, RationalPolicies< typename Pol::CoeffType > > | number |
qi::rule< Iterator, Variable(), Skipper > | variable |
qi::rule< Iterator, Monomial::Arg(), Skipper > | monomial |
qi::rule< Iterator, Term< typename Pol::CoeffType >), Skipper > | term |
qi::rule< Iterator, Pol(), Skipper, qi::locals< Pol > > | polynomial |
qi::rule< Iterator, Pol(), Skipper > | expr |
qi::rule< Iterator, Pol(), Skipper > | expr_product |
qi::rule< Iterator, Pol(), Skipper, qi::locals< Pol > > | expr_sum |
qi::rule< Iterator, Pol(), Skipper > | main |
Definition at line 83 of file PolynomialParser.h.
|
private |
Enumerator | |
---|---|
ADD | |
SUB |
Definition at line 107 of file PolynomialParser.h.
|
inline |
Definition at line 84 of file PolynomialParser.h.
|
inlineprivate |
Definition at line 143 of file PolynomialParser.h.
|
inlineprivate |
Definition at line 128 of file PolynomialParser.h.
|
inline |
|
inlineprivate |
Definition at line 138 of file PolynomialParser.h.
|
inlineprivate |
|
inlineprivate |
Definition at line 121 of file PolynomialParser.h.
|
inlineprivate |
|
private |
Definition at line 162 of file PolynomialParser.h.
|
private |
Definition at line 163 of file PolynomialParser.h.
|
private |
Definition at line 164 of file PolynomialParser.h.
|
private |
Definition at line 165 of file PolynomialParser.h.
|
private |
Definition at line 159 of file PolynomialParser.h.
|
private |
Definition at line 157 of file PolynomialParser.h.
|
private |
Definition at line 154 of file PolynomialParser.h.
|
private |
Definition at line 161 of file PolynomialParser.h.
|
private |
Definition at line 160 of file PolynomialParser.h.
|
private |
Definition at line 158 of file PolynomialParser.h.
|
private |
Definition at line 155 of file PolynomialParser.h.
|
private |
Definition at line 156 of file PolynomialParser.h.