Class xlifepp::LinearForm#
-
class LinearForm#
-
Collaboration diagram for xlifepp::LinearForm:
describes a general linear form, that is a list of linear combinations of basic linear forms.
It is intend to collect linear forms with different unknowns, using a map<const Unknown*,SuLinearForm> It is the enduser’s class
Public Functions
-
inline LinearForm()#
-
default constructor
-
LinearForm(const SuLinearForm &sulf)#
-
constructor from a linear combination
-
inline void clear()#
-
clear the map of linear forms
-
const SuLinearForm &first() const#
-
return first linear combination
-
bool isEmpty() const#
-
true if no linear form
-
bool normalRequired() const#
-
true if normal is required
-
LinearForm operator()(const Unknown&) const#
-
access to the linear form associated to an unknown
-
BasicLinearForm &operator()(const Unknown &u, number_t n)#
-
access to the n-th basic linear form associated to an unknown
-
const BasicLinearForm &operator()(const Unknown &u, number_t n) const#
-
access to the n-th basic linear form associated to an unknown
-
LinearForm &operator*=(const complex_t &c)#
-
multiply by a complex
-
LinearForm &operator+=(const LinearForm &lf)#
-
sum of linear forms
-
LinearForm &operator-=(const LinearForm &lf)#
-
difference of linear forms
-
LinearForm &operator/=(const complex_t &c)#
-
divide by a complex
-
EssentialCondition operator=(const complex_t &c)#
-
construct essential condition lf(u)=c
-
void print(std::ostream &os) const#
-
print utility
-
bool singleUnknown() const#
-
true if only one unknown involved
-
SuLinearForm *subLfp(const Unknown *u)#
-
access to SuLinearForm pointers related to unknown (non const)
-
const SuLinearForm *subLfp(const Unknown *u) const#
-
access to SuLinearForm pointers related to unknown
-
bool xnormalRequired() const#
-
true if x-normal is required
-
bool ynormalRequired() const#
-
true if y-normal is required
-
inline LinearForm()#