#include <Thyra_MultipliedLinearOpBase.hpp>
Pure virtual functions that must be overridden by subclasses | |
| virtual int | numOps () const =0 |
| Returns the number of constituent operators. | |
| virtual bool | opIsConst (const int k) const =0 |
Determine if the kth constituent operator is const-only or not. | |
| virtual Teuchos::RefCountPtr< LinearOpBase< Scalar > > | getNonconstOp (const int k)=0 |
Return the kth non-constant constituent operator. | |
| virtual Teuchos::RefCountPtr< const LinearOpBase< Scalar > > | getOp (const int k) const =0 |
Return the kth constant constituent operator. | |
This interface represents a multiplied linear operator M of the form:
M = Op[0] * Op[1] * ... * Op[numOps-1]
where Op[] is an array of numOps LinearOpBase objects. Of course the operator M is not constructed explicitly but instead just applies the constituent linear operators accordingly using temporaries.
In other words, subclasses define apply() as:
y = alpha*M*x + beta*y = alpha * ( Op[0] * ( Op[1] * ( .... ( Op[numOps-1] * x ) ... ) ) ) + beta * y
Definition at line 60 of file Thyra_MultipliedLinearOpBase.hpp.
|
|||||||||
|
Returns the number of constituent operators.
A return value of |
|
||||||||||
|
Determine if the
|
|
||||||||||
|
Return the
|
|
||||||||||
|
Return the
|
1.3.9.1