Public Types | |
| typedef SimpleMV | _MV |
| typedef Teuchos::ScalarTraits < double > | SCT |
| typedef Anasazi::MultiVecTraits < double, _MV > | AMVT |
Static Public Member Functions | |
| static double | one () |
| static double | zero () |
| static RCP< _MV > | Clone (const _MV &mv, const int numvecs) |
| static RCP< _MV > | CloneCopy (const _MV &mv) |
| static RCP< _MV > | CloneCopy (const _MV &mv, const std::vector< int > &index) |
| static RCP< _MV > | CloneViewNonConst (_MV &mv, const std::vector< int > &index) |
| static RCP< _MV > | CloneViewNonConst (_MV &mv, const Teuchos::Range1D &index) |
| static RCP< const _MV > | CloneView (const _MV &mv, const std::vector< int > &index) |
| static RCP< const _MV > | CloneView (const _MV &mv, const Teuchos::Range1D &index) |
| static int | GetVecLength (const _MV &mv) |
| static int | GetNumberVecs (const _MV &mv) |
| static void | MvTimesMatAddMv (const double alpha, const _MV &A, const Teuchos::SerialDenseMatrix< int, double > &B, const double beta, _MV &mv) |
Update mv with . | |
| static void | MvAddMv (const double alpha, const _MV &A, const double beta, const _MV &B, _MV &mv) |
Replace mv with . | |
| static void | MvTransMv (const double alpha, const _MV &A, const _MV &mv, Teuchos::SerialDenseMatrix< int, double > &B) |
Compute a dense matrix B through the matrix-matrix multiply . | |
| static void | MvDot (const _MV &mv, const _MV &A, std::vector< double > &b) |
| static void | MvScale (_MV &mv, const double alpha) |
| static void | MvScale (_MV &mv, const std::vector< double > &alpha) |
| static void | MvNorm (const _MV &mv, std::vector< Teuchos::ScalarTraits< double >::magnitudeType > &normvec, NormType type=TwoNorm) |
| static void | SetBlock (const _MV &A, const std::vector< int > &index, _MV &mv) |
Copy the vectors in A to a set of vectors in mv indicated by the indices given in index. | |
| static void | Assign (const _MV &A, _MV &mv) |
| Assign (deep copy) A into mv. | |
| static void | MvRandom (_MV &mv) |
Replace the vectors in mv with random vectors. | |
| static void | MvInit (_MV &mv, double alpha=Teuchos::ScalarTraits< double >::zero()) |
Replace each element of the vectors in mv with alpha. | |
| static void | MvPrint (const _MV &mv, std::ostream &os) |
Definition at line 62 of file PlayaBelosAdapter.hpp.
Definition at line 65 of file PlayaBelosAdapter.hpp.
Definition at line 67 of file PlayaBelosAdapter.hpp.
Definition at line 66 of file PlayaBelosAdapter.hpp.
| static void Belos::MultiVecTraits< double, SimpleMV >::Assign | ( | const _MV & | A, |
| _MV & | mv | ||
| ) | [inline, static] |
Assign (deep copy) A into mv.
Definition at line 177 of file PlayaBelosAdapter.hpp.
| static RCP<_MV> Belos::MultiVecTraits< double, SimpleMV >::Clone | ( | const _MV & | mv, |
| const int | numvecs | ||
| ) | [inline, static] |
Definition at line 73 of file PlayaBelosAdapter.hpp.
| static RCP< _MV > Belos::MultiVecTraits< double, SimpleMV >::CloneCopy | ( | const _MV & | mv | ) | [inline, static] |
Definition at line 77 of file PlayaBelosAdapter.hpp.
| static RCP< _MV > Belos::MultiVecTraits< double, SimpleMV >::CloneCopy | ( | const _MV & | mv, |
| const std::vector< int > & | index | ||
| ) | [inline, static] |
Definition at line 81 of file PlayaBelosAdapter.hpp.
| static RCP<const _MV > Belos::MultiVecTraits< double, SimpleMV >::CloneView | ( | const _MV & | mv, |
| const std::vector< int > & | index | ||
| ) | [inline, static] |
Definition at line 98 of file PlayaBelosAdapter.hpp.
| static RCP<const _MV > Belos::MultiVecTraits< double, SimpleMV >::CloneView | ( | const _MV & | mv, |
| const Teuchos::Range1D & | index | ||
| ) | [inline, static] |
Definition at line 102 of file PlayaBelosAdapter.hpp.
| static RCP< _MV > Belos::MultiVecTraits< double, SimpleMV >::CloneViewNonConst | ( | _MV & | mv, |
| const std::vector< int > & | index | ||
| ) | [inline, static] |
Definition at line 85 of file PlayaBelosAdapter.hpp.
| static RCP<_MV> Belos::MultiVecTraits< double, SimpleMV >::CloneViewNonConst | ( | _MV & | mv, |
| const Teuchos::Range1D & | index | ||
| ) | [inline, static] |
Definition at line 91 of file PlayaBelosAdapter.hpp.
| static int Belos::MultiVecTraits< double, SimpleMV >::GetNumberVecs | ( | const _MV & | mv | ) | [inline, static] |
Obtain the number of vectors in mv
Definition at line 110 of file PlayaBelosAdapter.hpp.
| static int Belos::MultiVecTraits< double, SimpleMV >::GetVecLength | ( | const _MV & | mv | ) | [inline, static] |
Obtain the vector length of mv.
Definition at line 106 of file PlayaBelosAdapter.hpp.
| static void Belos::MultiVecTraits< double, SimpleMV >::MvAddMv | ( | const double | alpha, |
| const _MV & | A, | ||
| const double | beta, | ||
| const _MV & | B, | ||
| _MV & | mv | ||
| ) | [inline, static] |
Replace mv with
.
Definition at line 122 of file PlayaBelosAdapter.hpp.
| static void Belos::MultiVecTraits< double, SimpleMV >::MvDot | ( | const _MV & | mv, |
| const _MV & | A, | ||
| std::vector< double > & | b | ||
| ) | [inline, static] |
Dot product
Definition at line 137 of file PlayaBelosAdapter.hpp.
| static void Belos::MultiVecTraits< double, SimpleMV >::MvInit | ( | _MV & | mv, |
| double | alpha = Teuchos::ScalarTraits<double>::zero() |
||
| ) | [inline, static] |
Replace each element of the vectors in mv with alpha.
Definition at line 188 of file PlayaBelosAdapter.hpp.
| static void Belos::MultiVecTraits< double, SimpleMV >::MvNorm | ( | const _MV & | mv, |
| std::vector< Teuchos::ScalarTraits< double >::magnitudeType > & | normvec, | ||
| NormType | type = TwoNorm |
||
| ) | [inline, static] |
Compute the 2-norm of each individual vector of mv.
Definition at line 154 of file PlayaBelosAdapter.hpp.
References Anasazi::SimpleMV::size().
| static void Belos::MultiVecTraits< double, SimpleMV >::MvPrint | ( | const _MV & | mv, |
| std::ostream & | os | ||
| ) | [inline, static] |
Print the mv multi-vector to the os output stream.
Definition at line 193 of file PlayaBelosAdapter.hpp.
Replace the vectors in mv with random vectors.
Definition at line 183 of file PlayaBelosAdapter.hpp.
| static void Belos::MultiVecTraits< double, SimpleMV >::MvScale | ( | _MV & | mv, |
| const double | alpha | ||
| ) | [inline, static] |
Scale each element of the vectors in *this with alpha.
Definition at line 143 of file PlayaBelosAdapter.hpp.
| static void Belos::MultiVecTraits< double, SimpleMV >::MvScale | ( | _MV & | mv, |
| const std::vector< double > & | alpha | ||
| ) | [inline, static] |
Scale each element of the i-th vector in *this with alpha[i].
Definition at line 150 of file PlayaBelosAdapter.hpp.
| static void Belos::MultiVecTraits< double, SimpleMV >::MvTimesMatAddMv | ( | const double | alpha, |
| const _MV & | A, | ||
| const Teuchos::SerialDenseMatrix< int, double > & | B, | ||
| const double | beta, | ||
| _MV & | mv | ||
| ) | [inline, static] |
Update mv with
.
Definition at line 115 of file PlayaBelosAdapter.hpp.
| static void Belos::MultiVecTraits< double, SimpleMV >::MvTransMv | ( | const double | alpha, |
| const _MV & | A, | ||
| const _MV & | mv, | ||
| Teuchos::SerialDenseMatrix< int, double > & | B | ||
| ) | [inline, static] |
Compute a dense matrix B through the matrix-matrix multiply
.
Definition at line 129 of file PlayaBelosAdapter.hpp.
Definition at line 69 of file PlayaBelosAdapter.hpp.
| static void Belos::MultiVecTraits< double, SimpleMV >::SetBlock | ( | const _MV & | A, |
| const std::vector< int > & | index, | ||
| _MV & | mv | ||
| ) | [inline, static] |
Copy the vectors in A to a set of vectors in mv indicated by the indices given in index.
Definition at line 172 of file PlayaBelosAdapter.hpp.
Definition at line 70 of file PlayaBelosAdapter.hpp.