#include <AnasaziEpetraAdapter.hpp>
Inheritance diagram for Anasazi::EpetraMultiVec:

Public Member Functions | |
Constructors/Destructors | |
| EpetraMultiVec (const Epetra_BlockMap &Map, const int numvecs) | |
| Basic EpetraMultiVec constructor. | |
| EpetraMultiVec (const Epetra_MultiVector &P_vec) | |
| Copy constructor. | |
| EpetraMultiVec (const Epetra_BlockMap &Map, double *array, const int numvecs, const int stride=0) | |
| Create multi-vector with values from two dimensional array. | |
| EpetraMultiVec (Epetra_DataAccess CV, const Epetra_MultiVector &P_vec, const std::vector< int > &index) | |
| Create multi-vector from list of vectors in an existing EpetraMultiVec. | |
| virtual | ~EpetraMultiVec () |
| Destructor. | |
Creation methods | |
| MultiVec< double > * | Clone (const int numvecs) const |
Creates a new empty EpetraMultiVec containing numvecs columns. | |
| MultiVec< double > * | CloneCopy () const |
Creates a new EpetraMultiVec and copies contents of *this into the new vector (deep copy). | |
| MultiVec< double > * | CloneCopy (const std::vector< int > &index) const |
Creates a new EpetraMultiVec and copies the selected contents of *this into the new vector (deep copy). | |
| MultiVec< double > * | CloneView (const std::vector< int > &index) |
Creates a new EpetraMultiVec that shares the selected contents of *this. | |
Attribute methods | |
| int | GetNumberVecs () const |
| Obtain the vector length of *this. | |
| int | GetVecLength () const |
| Obtain the number of vectors in *this. | |
Update methods | |
| void | MvTimesMatAddMv (const double alpha, const MultiVec< double > &A, const Teuchos::SerialDenseMatrix< int, double > &B, const double beta) |
Update *this with . | |
| void | MvAddMv (const double alpha, const MultiVec< double > &A, const double beta, const MultiVec< double > &B) |
Replace *this with . | |
| void | MvTransMv (const double alpha, const MultiVec< double > &A, Teuchos::SerialDenseMatrix< int, double > &B) const |
Compute a dense matrix B through the matrix-matrix multiply . | |
| void | MvDot (const MultiVec< double > &A, std::vector< double > *b) const |
Compute a vector b where the components are the individual dot-products, i.e. where A[i] is the i-th column of A. | |
| void | MvScale (const double alpha) |
Scale each element of the vectors in *this with alpha. | |
| void | MvScale (const std::vector< double > &alpha) |
Scale each element of the i-th vector in *this with alpha[i]. | |
Norm method | |
| void | MvNorm (std::vector< double > *normvec) const |
Compute the 2-norm of each individual vector of *this. Upon return, normvec[i] holds the 2-norm of the i-th vector of *this. | |
Initialization methods | |
| void | SetBlock (const MultiVec< double > &A, const std::vector< int > &index) |
Copy the vectors in A to a set of vectors in *this. | |
| void | MvRandom () |
Fill the vectors in *this with random numbers. | |
| void | MvInit (const double alpha) |
Replace each element of the vectors in *this with alpha. | |
Print method | |
| void | MvPrint (ostream &os) const |
Print *this EpetraMultiVec. | |
Definition at line 61 of file AnasaziEpetraAdapter.hpp.
|
||||||||||||
|
Basic EpetraMultiVec constructor.
Definition at line 52 of file AnasaziEpetraAdapter.cpp. |
|
|
Copy constructor.
Definition at line 65 of file AnasaziEpetraAdapter.cpp. |
|
||||||||||||||||||||
|
Create multi-vector with values from two dimensional array.
Definition at line 45 of file AnasaziEpetraAdapter.cpp. |
|
||||||||||||||||
|
Create multi-vector from list of vectors in an existing EpetraMultiVec.
Definition at line 58 of file AnasaziEpetraAdapter.cpp. |
|
|
Destructor.
Definition at line 98 of file AnasaziEpetraAdapter.hpp. |
|
|
Creates a new empty EpetraMultiVec containing
Implements Anasazi::MultiVec< double >. Definition at line 80 of file AnasaziEpetraAdapter.cpp. |
|
|
Creates a new EpetraMultiVec and copies contents of
Implements Anasazi::MultiVec< double >. Definition at line 91 of file AnasaziEpetraAdapter.cpp. |
|
|
Creates a new EpetraMultiVec and copies the selected contents of
The copied vectors from
Implements Anasazi::MultiVec< double >. Definition at line 98 of file AnasaziEpetraAdapter.cpp. |
|
|
Creates a new EpetraMultiVec that shares the selected contents of
The index of the
Implements Anasazi::MultiVec< double >. Definition at line 105 of file AnasaziEpetraAdapter.cpp. |
|
|
Obtain the vector length of *this.
Implements Anasazi::MultiVec< double >. Definition at line 142 of file AnasaziEpetraAdapter.hpp. |
|
|
Obtain the number of vectors in *this.
Implements Anasazi::MultiVec< double >. Definition at line 145 of file AnasaziEpetraAdapter.hpp. |
|
||||||||||||||||||||
|
Update
Implements Anasazi::MultiVec< double >. Definition at line 137 of file AnasaziEpetraAdapter.cpp. |
|
||||||||||||||||||||
|
Replace
Implements Anasazi::MultiVec< double >. Definition at line 156 of file AnasaziEpetraAdapter.cpp. |
|
||||||||||||||||
|
Compute a dense matrix
Implements Anasazi::MultiVec< double >. Definition at line 174 of file AnasaziEpetraAdapter.cpp. |
|
||||||||||||
|
Compute a vector
Implements Anasazi::MultiVec< double >. Definition at line 198 of file AnasaziEpetraAdapter.cpp. |
|
|
Scale each element of the vectors in
Implements Anasazi::MultiVec< double >. Definition at line 179 of file AnasaziEpetraAdapter.hpp. |
|
|
Scale each element of the
Implements Anasazi::MultiVec< double >. Definition at line 217 of file AnasaziEpetraAdapter.cpp. |
|
|
Compute the 2-norm of each individual vector of
Definition at line 192 of file AnasaziEpetraAdapter.hpp. |
|
||||||||||||
|
Copy the vectors in
The Implements Anasazi::MultiVec< double >. Definition at line 112 of file AnasaziEpetraAdapter.cpp. |
|
|
Fill the vectors in
Implements Anasazi::MultiVec< double >. Definition at line 211 of file AnasaziEpetraAdapter.hpp. |
|
|
Replace each element of the vectors in
Implements Anasazi::MultiVec< double >. Definition at line 215 of file AnasaziEpetraAdapter.hpp. |
|
|
Print
Implements Anasazi::MultiVec< double >. Definition at line 222 of file AnasaziEpetraAdapter.hpp. |
1.3.9.1