Class xlifepp::TermVectors#

class TermVectors : public std::vector<TermVector>#

end user class handling vector of TermVector it inherits from std::vector

Public Functions

inline TermVectors(const std::vector<TermVector> &vs)#

constructor from vector<TermVector>

inline TermVectors(number_t n = 0, string_t nam = string_t())#

basic constructor

inline TermVectors &applyBoundaryConditions(const EssentialConditions &ecs, const ReductionMethod &rm = ReductionMethod())#
Parameters:

rm – apply essential conditions to a TermVectors

TermVectors &applyEssentialConditions(const EssentialConditions&, const ReductionMethod& = ReductionMethod())#

apply essential conditions to a TermVectors

TermVectors &applyEssentialConditions(const SetOfConstraints&, const ReductionMethod& = ReductionMethod())#

apply constraints to a TermVectors

void name(const string_t &nam)#

update the name of each TermVector and theirs SuTermVectors

update the name of each TermVector and their SuTermVectors SuTermVector name is defined as follows: name(TermVector)_name(Unknown)

inline TermVector &operator()(number_t n)#

acces to n-th TermVector

inline const TermVector &operator()(number_t n) const#

acces to n-th TermVector (const)

void print(std::ostream&) const#

output on stream

TermVectors &toImag()#

move all TermVector’s to real

TermVectors &toLocal(bool keepGlobal = false)#

move all TermVector’s to local representation

TermVectors &toReal()#

move all TermVector’s to real

TermVectors &toVector(bool keepScalar = false)#

move all TermVector’s to vector representation