Class xlifepp::TermVectors#

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

Inheritence diagram for xlifepp::TermVectors:

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< TermVector >" tooltip="std::vector< TermVector >"] "1" [label="xlifepp::TermVectors" tooltip="xlifepp::TermVectors" fillcolor="#BFBFBF"] "2" -> "3" [dir=forward tooltip="template-instance"] "1" -> "2" [dir=forward tooltip="public-inheritance"] }

Collaboration diagram for xlifepp::TermVectors:

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< TermVector >" tooltip="std::vector< TermVector >"] "1" [label="xlifepp::TermVectors" tooltip="xlifepp::TermVectors" fillcolor="#BFBFBF"] "2" -> "3" [dir=forward tooltip="template-instance"] "1" -> "2" [dir=forward tooltip="public-inheritance"] }

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