G+Smo
24.08.0
Geometry + Simulation Modules
|
Simple abstract class for discrete operators.
Simple abstract class for discrete operators. The derived classes have to contain the functions: apply(), cols(), and rows().
Public Types | |
typedef memory::shared_ptr < gsLinearOperator > | Ptr |
Shared pointer for gsLinearOperator. | |
typedef memory::unique_ptr < gsLinearOperator > | uPtr |
Unique pointer for gsLinearOperator. | |
Public Member Functions | |
virtual void | apply (const gsMatrix< T > &input, gsMatrix< T > &x) const =0 |
apply the operator on the input vector and store the result in x More... | |
virtual index_t | cols () const =0 |
Returns the number of columns of the operator. | |
virtual index_t | rows () const =0 |
Returns the number of rows of the operator. | |
virtual void | setOptions (const gsOptionList &) |
Set options based on a gsOptionList object. | |
Static Public Member Functions | |
static gsOptionList | defaultOptions () |
Get the default options as gsOptionList object. | |
static gsIdentityOp< T > | Identity (const index_t dim) |
Identity operator. | |
apply the operator on the input vector and store the result in x
input | Input vector |
x | result vector |
Implemented in gsIncompleteLUOp< MatrixType >, gsSolverOp< SolverType >, gsPreconditionerFromOp< T >, gsJacobiOp< MatrixType >, gsAdditiveOp< T >, gsLinearLambdaOp< T, L >, gsIdentityOp< T >, gsProductOp< T >, gsScaledOp< T >, gsSumOp< T >, gsBlockOp< T >, gsPreconditionerOp< T >, gsPreconditionerOp< MatrixType::Scalar >, gsRichardsonOp< MatrixType >, gsKroneckerOp< T >, and gsMatrixOp< MatrixType >.