Class xlifepp::PolynomialBasisT#
-
template<typename K = real_t>
class PolynomialBasisT : public std::list<PolynomialT<real_t>>#
-
Inheritence diagram for xlifepp::PolynomialBasisT:
Collaboration diagram for xlifepp::PolynomialBasisT:
deals with a set of Polynomials
Public Functions
-
void add(const PolynomialBasisT&)#
-
add basis to current basis (do not check independancy nor compatibility dim!)
-
void buildQks(dimen_t, dimen_t = 0, dimen_t = 0)#
-
Polynomials of degree at most ki on variable i (ai<=ki)
-
void buildTree()#
-
build tree representation
build tree representation of polynomials
-
inline void clean()#
-
remove monomials with coefficients < asZero
-
inline void clean(real_t asZero)#
-
remove monomials with coefficients < asZero
-
inline std::vector<K> eval(const K &x1, const K &x2 = K(1), const K &x3 = K(1)) const#
-
evaluate at x=(x1,x2,x3) using monomials representation
-
inline std::vector<K> &eval(std::vector<K> &res, const K &x1, const K &x2 = K(1), const K &x3 = K(1)) const#
-
evaluate at x=(x1,x2,x3) using monomials representation
-
inline std::vector<K> evalTree(const K &x1, const K &x2 = K(1), const K &x3 = K(1)) const#
-
evaluate at x=(x1,x2,x3) using tree representation
-
inline std::vector<K> &evalTree(std::vector<K> &res, const K &x1, const K &x2 = K(1), const K &x3 = K(1)) const#
-
evaluate at x=(x1,x2,x3) using tree representation
-
inline std::vector<K> operator()(const K &x1, const K &x2 = K(1), const K &x3 = K(1)) const#
-
evaluate at x=(x1,x2,x3)
-
void add(const PolynomialBasisT&)#