MultiVectorBase implemented using columns of separate abstract vectors.
More...
#include <Thyra_MultiVectorColsDecl.hpp>
Inheritance diagram for Thyra::MultiVectorCols< Scalar >:
Constructors/Initializers | |
| MultiVectorCols () | |
| Construct to initialized. | |
| MultiVectorCols (const Teuchos::RefCountPtr< VectorBase< Scalar > > &col_vec) | |
Calls initialize(). | |
| MultiVectorCols (const Teuchos::RefCountPtr< const VectorSpaceBase< Scalar > > &range, const Teuchos::RefCountPtr< const VectorSpaceBase< Scalar > > &domain, const Teuchos::RefCountPtr< VectorBase< Scalar > > col_vecs[]=NULL) | |
Calls initialize(). | |
| void | initialize (const Teuchos::RefCountPtr< VectorBase< Scalar > > &col_vec) |
| Initialize given a single vector object. | |
| void | initialize (const Teuchos::RefCountPtr< const VectorSpaceBase< Scalar > > &range, const Teuchos::RefCountPtr< const VectorSpaceBase< Scalar > > &domain, const Teuchos::RefCountPtr< VectorBase< Scalar > > col_vecs[]=NULL) |
| Initialize given the spaces for the columns and rows and possibly the column vectors. | |
| void | set_uninitialized () |
| Set uninitialized. | |
Overridden from OpBase | |
| Teuchos::RefCountPtr< const VectorSpaceBase< Scalar > > | range () const |
| | |
| Teuchos::RefCountPtr< const VectorSpaceBase< Scalar > > | domain () const |
| | |
Overridden from MultiVectorBase | |
| Teuchos::RefCountPtr< VectorBase< Scalar > > | col (Index j) |
| | |
| Teuchos::RefCountPtr< MultiVectorBase< Scalar > > | subView (const Range1D &col_rng) |
| | |
Overridden from SingleRhsLinearOpBase | |
| bool | opSupported (ETransp M_trans) const |
For complex Scalar types returns true for NOTRANS and CONJTRANS and for real types returns true for all values of M_trans. | |
| void | apply (const ETransp M_trans, const VectorBase< Scalar > &x, VectorBase< Scalar > *y, const Scalar alpha, const Scalar beta) const |
This function is implemented in terms of the multi-vector applyOp() function. | |
MultiVectorBase implemented using columns of separate abstract vectors.
This is a very bad implementation of a multi-vector but this will work in situations where you need a multi-vector but some underlying linear algebra library does not directly support them.
This subclass can be used to represent a MultiVectorBase wrapper around a single VectorBase object so that a single vector can be passed to a method that expects a MultiVectorBase object.
Definition at line 52 of file Thyra_MultiVectorColsDecl.hpp.
|
|||||||||
|
Construct to initialized. Postconditions: this->range().get() == NULL
Definition at line 42 of file Thyra_MultiVectorCols.hpp. |
|
||||||||||
|
Calls
Definition at line 46 of file Thyra_MultiVectorCols.hpp. |
|
||||||||||||||||||||
|
Calls
Definition at line 54 of file Thyra_MultiVectorCols.hpp. |
|
||||||||||
|
Initialize given a single vector object.
Postconditions: this->range().get() == col_vec.space().get()
Definition at line 64 of file Thyra_MultiVectorCols.hpp. |
|
||||||||||||||||||||
|
Initialize given the spaces for the columns and rows and possibly the column vectors.
Postconditions: this->range().get() == range.get()
Definition at line 81 of file Thyra_MultiVectorCols.hpp. |
|
|||||||||
|
Set uninitialized.
Definition at line 110 of file Thyra_MultiVectorCols.hpp. |
|
|||||||||
|
Definition at line 121 of file Thyra_MultiVectorCols.hpp. |
|
|||||||||
|
Definition at line 128 of file Thyra_MultiVectorCols.hpp. |
|
||||||||||
|
Definition at line 193 of file Thyra_MultiVectorCols.hpp. |
|
||||||||||
|
Reimplemented from Thyra::MultiVectorDefaultBase< Scalar >. Definition at line 204 of file Thyra_MultiVectorCols.hpp. |
|
||||||||||
|
For complex
Implements Thyra::SingleScalarLinearOpBase< Scalar >. Definition at line 136 of file Thyra_MultiVectorCols.hpp. |
|
||||||||||||||||||||||||||||
|
This function is implemented in terms of the multi-vector
The implementation takes care of two types of operations. One (
This implementation is near optimal but the default implementation of the multi-vector version of Implements Thyra::SingleRhsLinearOpBase< Scalar >. Definition at line 143 of file Thyra_MultiVectorCols.hpp. |
1.3.9.1