Class xlifepp::LcTerm#

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

Inheritence diagram for xlifepp::LcTerm:

digraph { graph [bgcolor="#00000000"] node [shape=rectangle style=filled fillcolor="#FFFFFF" font=Helvetica padding=2] edge [color="#1414CE"] "3" [label="std::vector< T >" tooltip="std::vector< T >"] "2" [label="std::vector< std::pair< const TT *, complex_t > >" tooltip="std::vector< std::pair< const TT *, complex_t > >"] "1" [label="xlifepp::LcTerm< TT >" tooltip="xlifepp::LcTerm< TT >" fillcolor="#BFBFBF"] "2" -> "3" [dir=forward tooltip="template-instance"] "1" -> "2" [dir=forward tooltip="public-inheritance"] }

Collaboration diagram for xlifepp::LcTerm:

digraph { graph [bgcolor="#00000000"] node [shape=rectangle style=filled fillcolor="#FFFFFF" font=Helvetica padding=2] edge [color="#1414CE"] "3" [label="std::vector< T >" tooltip="std::vector< T >"] "2" [label="std::vector< std::pair< const TT *, complex_t > >" tooltip="std::vector< std::pair< const TT *, complex_t > >"] "1" [label="xlifepp::LcTerm< TT >" tooltip="xlifepp::LcTerm< TT >" fillcolor="#BFBFBF"] "2" -> "3" [dir=forward tooltip="template-instance"] "1" -> "2" [dir=forward tooltip="public-inheritance"] }

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