![]() |
G+Smo
25.01.0
Geometry + Simulation Modules
|
Wrapper that allows to use lambdas as a gsLinearOperator.
Inheritance diagram for gsLinearLambdaOp< T, L >:
Collaboration diagram for gsLinearLambdaOp< T, L >: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 | |
| void | apply (const gsMatrix< T > &input, gsMatrix< T > &x) const |
| apply the operator on the input vector and store the result in x | |
| index_t | cols () const |
| Returns the number of columns of the operator. | |
| gsLinearLambdaOp (L lambda, index_t rows, index_t cols) | |
| Constructor; see makeLinearOp for details. | |
| index_t | rows () const |
| 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. | |
Related Symbols | |
(Note that these are not member symbols.) | |
| template<class T = real_t, class L > | |
| gsLinearOperator< T >::uPtr | makeLinearOp (L lambda, index_t rows, index_t cols) |
| Wrapper that allows to use lambdas as a gsLinearOperator. | |
|
inlinevirtual |
apply the operator on the input vector and store the result in x
| input | Input vector |
| x | result vector |
Implements gsLinearOperator< T >.
|
related |
Wrapper that allows to use lambdas as a gsLinearOperator.
| lambda | A lambda object such that lambda(input, x) is valid if input and x are of type gsMatrix<T> |
| rows | The number of rows |
| cols | The number of columns |