#include <AnasaziThyraAdapter.hpp>
Static Public Member Functions | |
Creation methods | |
| Teuchos::RefCountPtr< TMVB > | Clone (const TMVB &mv, const int numvecs) |
Creates a new empty MultiVectorBase containing numvecs columns. | |
| Teuchos::RefCountPtr< TMVB > | CloneCopy (const TMVB &mv) |
Creates a new MultiVectorBase and copies contents of mv into the new vector (deep copy). | |
| Teuchos::RefCountPtr< TMVB > | CloneCopy (const TMVB &mv, const std::vector< int > &index) |
Creates a new MultiVectorBase and copies the selected contents of mv into the new vector (deep copy). | |
| Teuchos::RefCountPtr< TMVB > | CloneView (TMVB &mv, const std::vector< int > &index) |
Creates a new MultiVectorBase that shares the selected contents of mv (shallow copy). | |
| Teuchos::RefCountPtr< const TMVB > | CloneView (const TMVB &mv, const std::vector< int > &index) |
Creates a new const MultiVectorBase that shares the selected contents of mv (shallow copy). | |
Attribute methods | |
| int | GetVecLength (const TMVB &mv) |
Obtain the vector length of mv. | |
| int | GetNumberVecs (const TMVB &mv) |
Obtain the number of vectors in mv. | |
Update methods | |
| void | MvTimesMatAddMv (const ScalarType alpha, const TMVB &A, const Teuchos::SerialDenseMatrix< int, ScalarType > &B, const ScalarType beta, TMVB &mv) |
Update mv with . | |
| void | MvAddMv (const ScalarType alpha, const TMVB &A, const ScalarType beta, const TMVB &B, TMVB &mv) |
Replace mv with . | |
| void | MvTransMv (const ScalarType alpha, const TMVB &A, const TMVB &mv, Teuchos::SerialDenseMatrix< int, ScalarType > &B) |
Compute a dense matrix B through the matrix-matrix multiply . | |
| void | MvDot (const TMVB &mv, const TMVB &A, std::vector< ScalarType > *b) |
Compute a vector b where the components are the individual dot-products of the i-th columns of A and mv, i.e. . | |
| void | MvScale (TMVB &mv, const ScalarType alpha) |
Scale each element of the vectors in *this with alpha. | |
| void | MvScale (TMVB &mv, const std::vector< ScalarType > &alpha) |
Scale each element of the i-th vector in *this with alpha[i]. | |
Norm method | |
| void | MvNorm (const TMVB &mv, std::vector< ScalarType > *normvec) |
Compute the 2-norm of each individual vector of mv. Upon return, normvec[i] holds the value of , the i-th column of mv. | |
Initialization methods | |
| void | SetBlock (const TMVB &A, const std::vector< int > &index, TMVB &mv) |
Copy the vectors in A to a set of vectors in mv indicated by the indices given in index. | |
| void | MvRandom (TMVB &mv) |
Replace the vectors in mv with random vectors. | |
| void | MvInit (TMVB &mv, ScalarType alpha=Teuchos::ScalarTraits< ScalarType >::zero()) |
Replace each element of the vectors in mv with alpha. | |
Print method | |
| void | MvPrint (const TMVB &mv, ostream &os) |
Print the mv multi-vector to the os output stream. | |
This interface will ensure that any implementation of MultiVectorBaseClass will be accepted by the Anasazi templated solvers.
Definition at line 61 of file AnasaziThyraAdapter.hpp.
|
||||||||||||||||
|
Creates a new empty MultiVectorBase containing
Definition at line 74 of file AnasaziThyraAdapter.hpp. |
|
||||||||||
|
Creates a new MultiVectorBase and copies contents of
Definition at line 84 of file AnasaziThyraAdapter.hpp. |
|
||||||||||||||||
|
Creates a new MultiVectorBase and copies the selected contents of
The copied vectors from
Definition at line 99 of file AnasaziThyraAdapter.hpp. |
|
||||||||||||||||
|
Creates a new MultiVectorBase that shares the selected contents of
The index of the
Definition at line 116 of file AnasaziThyraAdapter.hpp. |
|
||||||||||||||||
|
Creates a new const MultiVectorBase that shares the selected contents of
The index of the
Definition at line 156 of file AnasaziThyraAdapter.hpp. |
|
||||||||||
|
Obtain the vector length of
Definition at line 197 of file AnasaziThyraAdapter.hpp. |
|
||||||||||
|
Obtain the number of vectors in
Definition at line 201 of file AnasaziThyraAdapter.hpp. |
|
||||||||||||||||||||||||||||
|
Update
Definition at line 211 of file AnasaziThyraAdapter.hpp. |
|
||||||||||||||||||||||||||||
|
Replace
Definition at line 229 of file AnasaziThyraAdapter.hpp. |
|
||||||||||||||||||||||||
|
Compute a dense matrix
Definition at line 245 of file AnasaziThyraAdapter.hpp. |
|
||||||||||||||||||||
|
Compute a vector
Definition at line 263 of file AnasaziThyraAdapter.hpp. |
|
||||||||||||||||
|
Scale each element of the vectors in
Definition at line 268 of file AnasaziThyraAdapter.hpp. |
|
||||||||||||||||
|
Scale each element of the
Definition at line 273 of file AnasaziThyraAdapter.hpp. |
|
||||||||||||||||
|
Compute the 2-norm of each individual vector of
Definition at line 288 of file AnasaziThyraAdapter.hpp. |
|
||||||||||||||||||||
|
Copy the vectors in
Definition at line 298 of file AnasaziThyraAdapter.hpp. |
|
||||||||||
|
Replace the vectors in
Definition at line 328 of file AnasaziThyraAdapter.hpp. |
|
||||||||||||||||
|
Replace each element of the vectors in
Definition at line 339 of file AnasaziThyraAdapter.hpp. |
|
||||||||||||||||
|
Print the
Definition at line 349 of file AnasaziThyraAdapter.hpp. |
1.3.9.1