|
GEOS
|
Simple class that wraps a matrix and represents its transpose as a linear operator. More...
#include <TransposeOperator.hpp>

Public Types | |
| using | Base = LinearOperator< typename MATRIX::Vector > |
| Alias for base type. | |
| using | Vector = typename Base::Vector |
| Alias for vector type. | |
| using | Matrix = MATRIX |
| Alias for matrix type. | |
Public Types inherited from geos::LinearOperator< MATRIX::Vector > | |
| using | Vector = MATRIX::Vector |
| Alias for template parameter. | |
Public Member Functions | |
| TransposeOperator (Matrix const &mat) | |
| Constructor. More... | |
| virtual void | apply (Vector const &src, Vector &dst) const override |
| Apply operator to a vector. More... | |
| virtual globalIndex | numGlobalRows () const override |
| virtual globalIndex | numGlobalCols () const override |
| virtual localIndex | numLocalRows () const override |
| virtual localIndex | numLocalCols () const override |
| virtual MPI_Comm | comm () const override |
| Get the MPI communicator the matrix was created with. More... | |
Public Member Functions inherited from geos::LinearOperator< MATRIX::Vector > | |
| LinearOperator ()=default | |
| Constructor. | |
| virtual | ~LinearOperator ()=default |
| Destructor. | |
| virtual void | apply (Vector const &src, Vector &dst) const=0 |
Apply operator to a vector, dst = this(src). More... | |
| virtual void | residual (Vector const &x, Vector const &b, Vector &r) const |
Compute residual r = b - this(x). More... | |
| virtual globalIndex | numGlobalNonzeros () const |
| virtual localIndex | numLocalNonzeros () const |
Simple class that wraps a matrix and represents its transpose as a linear operator.
| MATRIX | the linear algebra matrix type |
Definition at line 33 of file TransposeOperator.hpp.
|
inlineexplicit |
Constructor.
| mat | the underlying matrix |
Definition at line 50 of file TransposeOperator.hpp.
|
inlineoverridevirtual |
Apply operator to a vector.
| src | input vector (x) |
| dst | output vector (b) |
src and dst cannot alias the same vector (some implementations may allow this). Definition at line 62 of file TransposeOperator.hpp.
|
inlineoverridevirtual |
Get the MPI communicator the matrix was created with.
Implements geos::LinearOperator< MATRIX::Vector >.
Definition at line 103 of file TransposeOperator.hpp.
|
inlineoverridevirtual |
Implements geos::LinearOperator< MATRIX::Vector >.
Definition at line 78 of file TransposeOperator.hpp.
|
inlineoverridevirtual |
Implements geos::LinearOperator< MATRIX::Vector >.
Definition at line 70 of file TransposeOperator.hpp.
|
inlineoverridevirtual |
Implements geos::LinearOperator< MATRIX::Vector >.
Definition at line 94 of file TransposeOperator.hpp.
|
inlineoverridevirtual |
Implements geos::LinearOperator< MATRIX::Vector >.
Definition at line 86 of file TransposeOperator.hpp.