compositions.hh
LiCo(Operator< F > &A, Operator< F > &B, F a=1.0, F b=1.0)
Constructor.
Definition: compositions.hh:379
virtual std::ostream & info(std::ostream &os) const
void collapse_(DenseMatrix< F > &A, DenseMatrix< H > &B, Matrix< F > &dest) const
void operator()(const Function< c_type > &fncY, Function< c_type > &fncX)
Application operator for complex function fncY.
Definition: compositions.hh:397
void operator()()
Application method without second argument. Used for parallel solvers.
void operator()(const Function< c_type > &fncY, Function< c_type > &fncX)
Application operator for complex function fncY.
Definition: compositions.hh:272
bool collapse(Matrix< F > &dest, const F fact=1.0) const
Collapses the linear combination of matrices into one matrix.
virtual const uint dimX() const
Returns the size of the image space of the operator (number of rows of the corresponding matrix)
Definition: compositions.hh:93
virtual std::ostream & info(std::ostream &os) const
#define conceptsAssert(cond, exc)
Assert that a certain condition is fulfilled.
Definition: exceptions.hh:394
void apply_(const Function< H > &fncY, Function< I > &fncX)
Definition: compositions.hh:436
virtual std::ostream & info(std::ostream &os) const
void operator()(const Matrix< c_type > &mX, Matrix< c_type > &mY)
Application method to complex matrices. Calls apply_()
#define DEBUGL(doit, msg)
Vector< F > f_
Intermediate vector to store result after application of B.
Definition: compositions.hh:216
virtual Function< F > & add(const Function< F > &fnc, F a)
Adds a times fnc to this function.
void apply_(const Function< H > &fncY, Function< I > &fncX)
Definition: compositions.hh:291
void operator()(const Function< r_type > &fncY, Function< F > &fncX)
Application operator.
Definition: compositions.hh:268
virtual void operator()(const Function< c_type > &fncY, Function< c_type > &fncX)
Application operator for complex function fncY.
bool collapse(Matrix< F > &dest) const
Collapses the composition of matrices into one matrix.
virtual void operator()(const Function< r_type > &fncY, Function< F > &fncX)
Application operator for real function fncY.
virtual std::ostream & info(std::ostream &os) const
void operator()(const Function< r_type > &fncY, Function< F > &fncX)
Application operator.
Definition: compositions.hh:393
virtual void operator()(const Vector< c_type > &fncY, Vector< c_type > &fncX)
Application operator for complex function fncY.
virtual void apply_(const Vector< F > &fncY, Vector< F > &fncX)=0
Intrinsic application method, i.e.
virtual void operator()(const Vector< r_type > &fncY, Vector< F > &fncX)
Application operator for real vector fncY.
virtual void operator()(const Function< c_type > &fncY, Function< c_type > &fncX)
Application operator for complex function fncY.
Abstract class for an operator acting on vectors only, not arbitrary functions.
Definition: compositions.hh:115
bool collapse(Matrix< F > &dest, const F fact=1.0) const
Collapses the linear combination of matrices into one matrix.
virtual void operator()(const Function< r_type > &fncY, Function< F > &fncX)
Application operator.
void operator()(const Matrix< r_type > &mX, Matrix< F > &mY)
Application method to real matrices. Calls function apply()
virtual void operator()(const Function< r_type > &fncY, Function< F > &fncX)
Application operator for real function fncY.
virtual const uint dimY() const
Returns the size of the source space of the operator (number of columns of the corresponding matrix)
Definition: compositions.hh:98
#define conceptsAssert3(cond, exc, msg)
Assert that a certain condition is fulfilled.
Definition: exceptions.hh:442
virtual std::ostream & info(std::ostream &os) const
virtual std::ostream & info(std::ostream &os) const
void operator()(const Function< F > &fncY, Function< F > &fncX)
Application operator.
Definition: compositions.hh:231
virtual void operator()(const Function< c_type > &fncY, Function< c_type > &fncX)
Application operator for complex function fncY.
SchurCompl(Operator< F > &A_II_inv, Operator< F > &A_IB, Operator< F > &A_BI, Operator< F > &A_BB)
Constructor.
Definition: compositions.hh:471
Compose< F > * C_
Product of A_II^-1 * A_IB or A_BI * A_II^-1 * A_IB respectivly.
Definition: compositions.hh:467