Belos::MultiVecTraits< ScalarType, MV > Class Template Reference

#include <BelosMultiVecTraits.hpp>

List of all members.

Static Public Member Functions

static Teuchos::RCP< MV > Clone (const MV &mv, const int numvecs)
static Teuchos::RCP< MV > CloneCopy (const MV &mv)
static Teuchos::RCP< MV > CloneCopy (const MV &mv, const std::vector< int > &index)
static Teuchos::RCP< MV > CloneView (MV &mv, const std::vector< int > &index)
static Teuchos::RCP< const
MV > 
CloneView (const MV &mv, const std::vector< int > &index)
static int GetVecLength (const MV &mv)
static int GetNumberVecs (const MV &mv)
static void MvTimesMatAddMv (const ScalarType alpha, const MV &A, const Teuchos::SerialDenseMatrix< int, ScalarType > &B, const ScalarType beta, MV &mv)
static void MvAddMv (const ScalarType alpha, const MV &A, const ScalarType beta, const MV &B, MV &mv)
static void MvScale (MV &mv, const ScalarType alpha)
 Scale each element of the vectors in mv with alpha.
static void MvScale (MV &mv, const std::vector< ScalarType > &alpha)
 Scale each element of the i-th vector in mv with alpha[i].
static void MvTransMv (const ScalarType alpha, const MV &A, const MV &mv, Teuchos::SerialDenseMatrix< int, ScalarType > &B)
static void MvDot (const MV &mv, const MV &A, std::vector< ScalarType > &b)
static void MvNorm (const MV &mv, std::vector< typename Teuchos::ScalarTraits< ScalarType >::magnitudeType > &normvec, NormType type=TwoNorm)
static void SetBlock (const MV &A, const std::vector< int > &index, MV &mv)
static void MvRandom (MV &mv)
static void MvInit (MV &mv, const ScalarType alpha=Teuchos::ScalarTraits< ScalarType >::zero())
static void MvPrint (const MV &mv, std::ostream &os)


Detailed Description

template<class ScalarType, class MV>
class Belos::MultiVecTraits< ScalarType, MV >

Definition at line 50 of file BelosMultiVecTraits.hpp.


Member Function Documentation

template<class ScalarType, class MV>
static Teuchos::RCP<MV> Belos::MultiVecTraits< ScalarType, MV >::Clone ( const MV &  mv,
const int  numvecs 
) [inline, static]

Definition at line 54 of file BelosMultiVecTraits.hpp.

template<class ScalarType, class MV>
static Teuchos::RCP<MV> Belos::MultiVecTraits< ScalarType, MV >::CloneCopy ( const MV &  mv  )  [inline, static]

Definition at line 57 of file BelosMultiVecTraits.hpp.

template<class ScalarType, class MV>
static Teuchos::RCP<MV> Belos::MultiVecTraits< ScalarType, MV >::CloneCopy ( const MV &  mv,
const std::vector< int > &  index 
) [inline, static]

Definition at line 60 of file BelosMultiVecTraits.hpp.

template<class ScalarType, class MV>
static Teuchos::RCP<MV> Belos::MultiVecTraits< ScalarType, MV >::CloneView ( MV &  mv,
const std::vector< int > &  index 
) [inline, static]

Definition at line 63 of file BelosMultiVecTraits.hpp.

template<class ScalarType, class MV>
static Teuchos::RCP<const MV> Belos::MultiVecTraits< ScalarType, MV >::CloneView ( const MV &  mv,
const std::vector< int > &  index 
) [inline, static]

Definition at line 66 of file BelosMultiVecTraits.hpp.

template<class ScalarType, class MV>
static int Belos::MultiVecTraits< ScalarType, MV >::GetVecLength ( const MV &  mv  )  [inline, static]

Definition at line 69 of file BelosMultiVecTraits.hpp.

template<class ScalarType, class MV>
static int Belos::MultiVecTraits< ScalarType, MV >::GetNumberVecs ( const MV &  mv  )  [inline, static]

Definition at line 72 of file BelosMultiVecTraits.hpp.

template<class ScalarType, class MV>
static void Belos::MultiVecTraits< ScalarType, MV >::MvTimesMatAddMv ( const ScalarType  alpha,
const MV &  A,
const Teuchos::SerialDenseMatrix< int, ScalarType > &  B,
const ScalarType  beta,
MV &  mv 
) [inline, static]

Definition at line 75 of file BelosMultiVecTraits.hpp.

template<class ScalarType, class MV>
static void Belos::MultiVecTraits< ScalarType, MV >::MvAddMv ( const ScalarType  alpha,
const MV &  A,
const ScalarType  beta,
const MV &  B,
MV &  mv 
) [inline, static]

Definition at line 80 of file BelosMultiVecTraits.hpp.

template<class ScalarType, class MV>
static void Belos::MultiVecTraits< ScalarType, MV >::MvScale ( MV &  mv,
const ScalarType  alpha 
) [inline, static]

Scale each element of the vectors in mv with alpha.

Definition at line 85 of file BelosMultiVecTraits.hpp.

template<class ScalarType, class MV>
static void Belos::MultiVecTraits< ScalarType, MV >::MvScale ( MV &  mv,
const std::vector< ScalarType > &  alpha 
) [inline, static]

Scale each element of the i-th vector in mv with alpha[i].

Definition at line 90 of file BelosMultiVecTraits.hpp.

template<class ScalarType, class MV>
static void Belos::MultiVecTraits< ScalarType, MV >::MvTransMv ( const ScalarType  alpha,
const MV &  A,
const MV &  mv,
Teuchos::SerialDenseMatrix< int, ScalarType > &  B 
) [inline, static]

Definition at line 93 of file BelosMultiVecTraits.hpp.

template<class ScalarType, class MV>
static void Belos::MultiVecTraits< ScalarType, MV >::MvDot ( const MV &  mv,
const MV &  A,
std::vector< ScalarType > &  b 
) [inline, static]

Definition at line 96 of file BelosMultiVecTraits.hpp.

template<class ScalarType, class MV>
static void Belos::MultiVecTraits< ScalarType, MV >::MvNorm ( const MV &  mv,
std::vector< typename Teuchos::ScalarTraits< ScalarType >::magnitudeType > &  normvec,
NormType  type = TwoNorm 
) [inline, static]

Definition at line 99 of file BelosMultiVecTraits.hpp.

template<class ScalarType, class MV>
static void Belos::MultiVecTraits< ScalarType, MV >::SetBlock ( const MV &  A,
const std::vector< int > &  index,
MV &  mv 
) [inline, static]

Definition at line 102 of file BelosMultiVecTraits.hpp.

template<class ScalarType, class MV>
static void Belos::MultiVecTraits< ScalarType, MV >::MvRandom ( MV &  mv  )  [inline, static]

Definition at line 105 of file BelosMultiVecTraits.hpp.

template<class ScalarType, class MV>
static void Belos::MultiVecTraits< ScalarType, MV >::MvInit ( MV &  mv,
const ScalarType  alpha = Teuchos::ScalarTraits<ScalarType>::zero() 
) [inline, static]

Definition at line 108 of file BelosMultiVecTraits.hpp.

template<class ScalarType, class MV>
static void Belos::MultiVecTraits< ScalarType, MV >::MvPrint ( const MV &  mv,
std::ostream &  os 
) [inline, static]

Definition at line 111 of file BelosMultiVecTraits.hpp.


The documentation for this class was generated from the following file:
Generated on Wed May 12 21:45:53 2010 for Belos by  doxygen 1.4.7