ALPS MPS Codes
Reference documentation.
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Static Public Member Functions | List of all members
Anasazi::MultiVecTraits< double, IETLMultMv< Vector > > Class Template Reference

#include <anasazi_solver.h>

Static Public Member Functions

static Teuchos::RCP< MVClone (const MV &mv, const int numvecs)
 
static Teuchos::RCP< MVCloneCopy (const MV &mv)
 
static Teuchos::RCP< MVCloneCopy (const MV &mv, const std::vector< int > &index)
 
static Teuchos::RCP< MVCloneViewNonConst (MV &mv, const std::vector< int > &index)
 
static Teuchos::RCP< const MVCloneView (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)
 
static void MvScale (MV &mv, const std::vector< ScalarType > &alpha)
 
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)
 
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 Vector>
class Anasazi::MultiVecTraits< double, IETLMultMv< Vector > >

Definition at line 60 of file anasazi_solver.h.

Member Function Documentation

template<class ScalarType , class Vector >
static Teuchos::RCP<MV> Anasazi::MultiVecTraits< double, IETLMultMv< Vector > >::Clone ( const MV mv,
const int  numvecs 
)
inlinestatic

Definition at line 65 of file anasazi_solver.h.

66  {
67  MV * ret = new MV(numvecs);
68  for (int k = 0; i < numvecs; ++k)
69  // any ideas how to get the vectorspacee?
70  MV->data[i].reset( new Vector(mv.data[0]) );
71  return Teuchos::RCP<MV>(ret);
72  }
template<class ScalarType , class Vector >
static Teuchos::RCP<MV> Anasazi::MultiVecTraits< double, IETLMultMv< Vector > >::CloneCopy ( const MV mv)
inlinestatic

Definition at line 74 of file anasazi_solver.h.

75  {
76  MV * ret = new MV(mv.data.size());
77  for (int k = 0; i < numvecs; ++k)
78  ret->data[i].reset( new Vector(mv.data[k]) );
79  return Teuchos::RCP<MV>(ret);
80  }
template<class ScalarType , class Vector >
static Teuchos::RCP<MV> Anasazi::MultiVecTraits< double, IETLMultMv< Vector > >::CloneCopy ( const MV mv,
const std::vector< int > &  index 
)
inlinestatic

Definition at line 82 of file anasazi_solver.h.

83  {
84  MV * ret = new MV(index.size());
85  for (int k = 0; k < index.size(); ++k)
86  ret->data[k].reset( new Vector(mv->data[index[k]]) );
87  return Teuchos::RCP<MV>(ret);
88  }
template<class ScalarType , class Vector >
static Teuchos::RCP<const MV> Anasazi::MultiVecTraits< double, IETLMultMv< Vector > >::CloneView ( const MV mv,
const std::vector< int > &  index 
)
inlinestatic

Definition at line 98 of file anasazi_solver.h.

99  {
100  MV * ret = new MV(index.size());
101  for (int k = 0; k < index.size(); ++k)
102  ret->data[k] = mv->data[k];
103  return Teuchos::RCP<MV>(ret);
104  }
template<class ScalarType , class Vector >
static Teuchos::RCP<MV> Anasazi::MultiVecTraits< double, IETLMultMv< Vector > >::CloneViewNonConst ( MV mv,
const std::vector< int > &  index 
)
inlinestatic

Definition at line 90 of file anasazi_solver.h.

91  {
92  MV * ret = new MV(index.size());
93  for (int k = 0; k < index.size(); ++k)
94  ret->data[k] = mv->data[k];
95  return Teuchos::RCP<MV>(ret);
96  }
template<class ScalarType , class Vector >
static int Anasazi::MultiVecTraits< double, IETLMultMv< Vector > >::GetNumberVecs ( const MV mv)
inlinestatic

Definition at line 111 of file anasazi_solver.h.

112  {
113  return mv.data.size();
114  }
template<class ScalarType , class Vector >
static int Anasazi::MultiVecTraits< double, IETLMultMv< Vector > >::GetVecLength ( const MV mv)
inlinestatic

Definition at line 106 of file anasazi_solver.h.

107  {
108  return 0;
109  }
template<class ScalarType , class Vector >
static void Anasazi::MultiVecTraits< double, IETLMultMv< Vector > >::MvAddMv ( const ScalarType  alpha,
const MV A,
const ScalarType  beta,
const MV B,
MV mv 
)
inlinestatic

Definition at line 122 of file anasazi_solver.h.

Anasazi::IETLMultMv boost::noncopyable notDefined()
template<class ScalarType , class Vector >
static void Anasazi::MultiVecTraits< double, IETLMultMv< Vector > >::MvDot ( const MV mv,
const MV A,
std::vector< ScalarType > &  b 
)
inlinestatic

Definition at line 134 of file anasazi_solver.h.

Anasazi::IETLMultMv boost::noncopyable notDefined()
template<class ScalarType , class Vector >
static void Anasazi::MultiVecTraits< double, IETLMultMv< Vector > >::MvInit ( MV mv,
const ScalarType  alpha = Teuchos::ScalarTraits<ScalarType>::zero() 
)
inlinestatic

Definition at line 152 of file anasazi_solver.h.

Anasazi::IETLMultMv boost::noncopyable notDefined()
template<class ScalarType , class Vector >
static void Anasazi::MultiVecTraits< double, IETLMultMv< Vector > >::MvNorm ( const MV mv,
std::vector< typename Teuchos::ScalarTraits< ScalarType >::magnitudeType > &  normvec 
)
inlinestatic

Definition at line 140 of file anasazi_solver.h.

Anasazi::IETLMultMv boost::noncopyable notDefined()
template<class ScalarType , class Vector >
static void Anasazi::MultiVecTraits< double, IETLMultMv< Vector > >::MvPrint ( const MV mv,
std::ostream &  os 
)
inlinestatic

Definition at line 158 of file anasazi_solver.h.

Anasazi::IETLMultMv boost::noncopyable notDefined()
template<class ScalarType , class Vector >
static void Anasazi::MultiVecTraits< double, IETLMultMv< Vector > >::MvRandom ( MV mv)
inlinestatic

Definition at line 149 of file anasazi_solver.h.

Anasazi::IETLMultMv boost::noncopyable notDefined()
template<class ScalarType , class Vector >
static void Anasazi::MultiVecTraits< double, IETLMultMv< Vector > >::MvScale ( MV mv,
const ScalarType  alpha 
)
inlinestatic

Definition at line 125 of file anasazi_solver.h.

Anasazi::IETLMultMv boost::noncopyable notDefined()
template<class ScalarType , class Vector >
static void Anasazi::MultiVecTraits< double, IETLMultMv< Vector > >::MvScale ( MV mv,
const std::vector< ScalarType > &  alpha 
)
inlinestatic

Definition at line 128 of file anasazi_solver.h.

Anasazi::IETLMultMv boost::noncopyable notDefined()
template<class ScalarType , class Vector >
static void Anasazi::MultiVecTraits< double, IETLMultMv< Vector > >::MvTimesMatAddMv ( const ScalarType  alpha,
const MV A,
const Teuchos::SerialDenseMatrix< int, ScalarType > &  B,
const ScalarType  beta,
MV mv 
)
inlinestatic

Definition at line 117 of file anasazi_solver.h.

Anasazi::IETLMultMv boost::noncopyable notDefined()
template<class ScalarType , class Vector >
static void Anasazi::MultiVecTraits< double, IETLMultMv< Vector > >::MvTransMv ( const ScalarType  alpha,
const MV A,
const MV mv,
Teuchos::SerialDenseMatrix< int, ScalarType > &  B 
)
inlinestatic

Definition at line 131 of file anasazi_solver.h.

Anasazi::IETLMultMv boost::noncopyable notDefined()
template<class ScalarType , class Vector >
static void Anasazi::MultiVecTraits< double, IETLMultMv< Vector > >::SetBlock ( const MV A,
const std::vector< int > &  index,
MV mv 
)
inlinestatic

Definition at line 146 of file anasazi_solver.h.

Anasazi::IETLMultMv boost::noncopyable notDefined()

The documentation for this class was generated from the following file: