GEOS
|
Wraps a matrix A and represents A^T * A as a linear operator. More...
#include <NormalOperator.hpp>
Public Types | |
using | Base = LinearOperator< typename LAI::ParallelVector > |
Alias for base type. | |
using | Vector = typename Base::Vector |
Alias for vector type. | |
using | Matrix = typename LAI::ParallelMatrix |
Alias for matrix type. | |
Public Types inherited from geos::LinearOperator< LAI::ParallelVector > | |
using | Vector = LAI::ParallelVector |
Alias for template parameter. | |
Public Member Functions | |
NormalOperator (Matrix const &mat) | |
Constructor. More... | |
virtual | ~NormalOperator () override=default |
Destructor. | |
void | apply (Vector const &src, Vector &dst) const override |
Apply operator to a vector. More... | |
globalIndex | numGlobalRows () const override |
globalIndex | numGlobalCols () const override |
localIndex | numLocalRows () const override |
localIndex | numLocalCols () const override |
MPI_Comm | comm () const override |
Public Member Functions inherited from geos::LinearOperator< LAI::ParallelVector > | |
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... | |
Wraps a matrix A and represents A^T * A as a linear operator.
LAI | the linear algebra interface |
Definition at line 32 of file NormalOperator.hpp.
|
inlineexplicit |
Constructor.
mat | the underlying matrix (must outlive this operator) |
Definition at line 49 of file NormalOperator.hpp.
|
inlineoverride |
Apply operator to a vector.
src | input vector |
dst | output vector |
src
and dst
cannot alias the same vector (some implementations may allow this). Definition at line 65 of file NormalOperator.hpp.
|
inlineoverridevirtual |
Implements geos::LinearOperator< LAI::ParallelVector >.
Definition at line 106 of file NormalOperator.hpp.
|
inlineoverridevirtual |
Implements geos::LinearOperator< LAI::ParallelVector >.
Definition at line 82 of file NormalOperator.hpp.
|
inlineoverridevirtual |
Implements geos::LinearOperator< LAI::ParallelVector >.
Definition at line 74 of file NormalOperator.hpp.
|
inlineoverridevirtual |
Implements geos::LinearOperator< LAI::ParallelVector >.
Definition at line 98 of file NormalOperator.hpp.
|
inlineoverridevirtual |
Implements geos::LinearOperator< LAI::ParallelVector >.
Definition at line 90 of file NormalOperator.hpp.