Class xlifepp::SuLinearForm#

class SuLinearForm#

Collaboration diagram for xlifepp::SuLinearForm:

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

describes a linear combination of linear forms with the same unknown.

Public Functions

inline SuLinearForm()#

default constructor

SuLinearForm(const std::vector<lfPair> &lfp)#

full constructor

SuLinearForm(const SuLinearForm &sulf)#

copy constructor

~SuLinearForm()#

destructor

string_t asString() const#

as symbolic string

inline it_vlfp begin()#

iterator to the first element of vector of basic linear forms

inline cit_vlfp begin() const#

const iterator to the first element of vector of basic linear forms

bool checkConsistancy(const SuLinearForm &sulf) const#

check consitancy of Unknown

inline it_vlfp end()#

iterator to the last+1 element of vector of basic linear forms

inline cit_vlfp end() const#

const iterator to the last+1 element of vector of basic linear forms

inline std::vector<lfPair> &lfs()#

access to the list of linear forms

inline const std::vector<lfPair> &lfs() const#

access to the list of linear forms

bool normalRequired() const#

true if normal is required

inline lfPair &operator()(number_t n)#

acces to n-th pair

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

acces to n-th pair

SuLinearForm &operator*=(const complex_t &c)#

multiply by a complex

SuLinearForm &operator+=(const SuLinearForm &sulf)#

sum of linear forms

SuLinearForm &operator-=(const SuLinearForm &sulf)#

difference of linear forms

SuLinearForm &operator/=(const complex_t &c)#

divide by a complex

SuLinearForm &operator=(const SuLinearForm &sulf)#

assignment operator

void print(std::ostream &os) const#

print utility

inline number_t size() const#

number of elements of the linear combination

const Space *space() const#

return the space of the linear form

StrucType strucType() const#

return the structure type of the linear form

LinearFormType type() const#

return the type of the linear form (intg,doubleIntg,linearCombination)

const Unknown *unknown() const#

return the unknown of the linear form

ValueType valueType() const#

return the value type of the linear form

bool xnormalRequired() const#

true if x-normal is required

bool xnormalRequiredByOpKernel() const#

true if x-normal is required by operator on Kernel

bool ynormalRequired() const#

true if y-normal is required

bool ynormalRequiredByOpKernel() const#

true if y-normal is required by operator on Kernel