![]() |
G+Smo
25.01.0
Geometry + Simulation Modules
|
Identity operator.
Inheritance diagram for gsIdentityOp< T >:
Collaboration diagram for gsIdentityOp< T >:Public Types | |
| typedef memory::shared_ptr< gsIdentityOp > | Ptr |
| Shared pointer for gsIdentityOp. | |
| typedef memory::unique_ptr< gsIdentityOp > | uPtr |
| Unique pointer for gsIdentityOp. | |
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. | |
| gsIdentityOp (index_t dim) | |
| Constructor taking the dimension of the identity operator. | |
| 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. | |
| static uPtr | make (index_t dim) |
| Make function returning a smart pointer. | |
|
inlinevirtual |
apply the operator on the input vector and store the result in x
| input | Input vector |
| x | result vector |
Implements gsLinearOperator< T >.