Class xlifepp::LcOperatorOnUnknowns#

class LcOperatorOnUnknowns : public std::vector<OpusValPair>#

Inheritence diagram for xlifepp::LcOperatorOnUnknowns:

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

Collaboration diagram for xlifepp::LcOperatorOnUnknowns:

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

describes the linear combination of OperatorOnUnknowns

Public Functions

inline LcOperatorOnUnknowns()#

default constructor

LcOperatorOnUnknowns(const LcOperatorOnUnknowns&)#

basic constructor

LcOperatorOnUnknowns(const OperatorOnUnknowns&, const complex_t&)#

basic constructor

LcOperatorOnUnknowns(const OperatorOnUnknowns&, const real_t& = 1.)#

basic constructor

~LcOperatorOnUnknowns()#

destructor

void clear()#

deallocate OperatorOnUnknown pointers

complex_t coefficient(number_t i = 1) const#

return ith coefficient

std::vector<complex_t> coefficients() const#

return vector of coefficients involved in combination

void copy(const LcOperatorOnUnknowns &lc)#

full copy of OperatorOnUnknown pointers

void insert(const complex_t&, const OperatorOnUnknowns&)#

insert a*opuv in the list

void insert(const OperatorOnUnknowns&)#

insert opuv in the list

void insert(const real_t&, const OperatorOnUnknowns&)#

insert a*opuv in the list

bool isSingleUVPair() const#

true if all terms involve the same unknown

LcOperatorOnUnknowns &operator*=(const complex_t&)#

lcopuv *= c

LcOperatorOnUnknowns &operator*=(const real_t&)#

lcopuv *= r

LcOperatorOnUnknowns &operator+=(const LcOperatorOnUnknowns&)#

lcopuv += lcopuv

LcOperatorOnUnknowns &operator+=(const OperatorOnUnknowns&)#

lcopuv += opuv

LcOperatorOnUnknowns &operator-=(const LcOperatorOnUnknowns&)#

lcopuv -= lcopuv

LcOperatorOnUnknowns &operator-=(const OperatorOnUnknowns&)#

lcopuv -= opuv

LcOperatorOnUnknowns &operator/=(const complex_t&)#

lcopuv /= c

LcOperatorOnUnknowns &operator/=(const real_t&)#

lcopuv /= r

LcOperatorOnUnknowns &operator=(const LcOperatorOnUnknowns&)#

assignment

const OperatorOnUnknown *opu(number_t i = 1) const#

return ith left OperatorOnUnknown involved in LcOperator’s

const OperatorOnUnknown *opv(number_t i = 1) const#

return ith right OperatorOnUnknown involved in LcOperator’s

inline void print(PrintStream &os) const#

print utility

void print(std::ostream&) const#

print utility

const Unknown *unknownu(number_t i = 1) const#

return ith left Unknown involved in LcOperator

const Unknown *unknownv(number_t i = 1) const#

return ith right Unknown involved in LcOperator

Friends

friend std::ostream &operator<<(std::ostream&, const LcOperatorOnUnknowns&)#

print operator