Class xlifepp::PolynomialT#
-
template<typename K = real_t>
class PolynomialT#
-
Collaboration diagram for xlifepp::PolynomialT:
deals with a Polynomial, say a linear combination of Monomials
Public Functions
-
string_t asString() const#
-
string form of polynomial
-
void buildTree() const#
-
build tree representation of polynomial
-
inline void clean()#
-
remove Monomials with coefficients < epsilon defined in Polynomials
-
inline void clean(real_t asZero)#
-
remove Monomials with coefficients < asZero
-
inline K eval(const K &x1, const K &x2 = K(1), const K &x3 = K(1)) const#
-
eval polynomial at x1,x2,x3
-
inline bool isZero() const#
-
< true if 0 polynomial
-
PolynomialT<K> operator()(const PolynomialT<K> &px, const PolynomialT<K> &py = PolynomialT<K>(), const PolynomialT<K> &pz = PolynomialT<K>()) const#
-
eval polynomial with other polynomials
-
inline PolynomialT<K> &operator*=(const MonomialT<K> &m)#
-
replace one variable by a polynomial
product by a Monomial
-
PolynomialT<K> &replace(VariableName, const PolynomialT<K>&)#
-
replace variable by Polynomial
-
string_t asString() const#