Class xlifepp::LcOperatorOnUnknowns#
-
class LcOperatorOnUnknowns : public std::vector<OpusValPair>#
-
Inheritence diagram for xlifepp::LcOperatorOnUnknowns:
Collaboration diagram for xlifepp::LcOperatorOnUnknowns:
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
-
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
Friends
-
friend std::ostream &operator<<(std::ostream&, const LcOperatorOnUnknowns&)#
-
print operator
-
inline LcOperatorOnUnknowns()#