Class xlifepp::LcTerm#

template<typename TT>
class LcTerm : public std::vector<std::pair<const TT*, complex_t>>#

Public Functions

inline LcTerm(const string_t &ty = "undefined type")#

default constructor

template<typename T>
LcTerm(const TT*, const T&)#

template constructor

ValueType coefType() const#

value type of the linear combination coefficients

template<typename T>
LcTerm<TT> &operator*=(const T&)#

LcTerm * v.

LcTerm<TT> &operator+=(const LcTerm<TT>&)#

LcTerm += LcTerm.

LcTerm<TT> &operator-=(const LcTerm<TT>&)#

LcTerm -= LcTerm.

template<typename T>
LcTerm<TT> &operator/=(const T&)#

LcTerm / v.

void print(std::ostream&) const#

print LcTerm on ostream

template<typename T>
void push_back(const TT*, const T&)#

insertion of Term in linear combination

inline void reserve(number_t n)#

Requests that the vector capacity be at least enough to contain n elements.

Public Members

string_t nametype#

type name of linear combination