PyTrilinos::Anasazi::MultiVecTraitsEpetra Class Reference

Inheritance diagram for PyTrilinos::Anasazi::MultiVecTraitsEpetra:

Inheritance graph
[legend]
Collaboration diagram for PyTrilinos::Anasazi::MultiVecTraitsEpetra:

Collaboration graph
[legend]

List of all members.

Public Member Functions

def Clone
def CloneCopy
def CloneView
def GetVecLength
def GetNumberVecs
def MvTimesMatAddMv
def MvAddMv
def MvTransMv
def MvDot
def MvNorm
def SetBlock
def MvScale
def MvRandom
def MvInit
def MvPrint
def __init__
def Clone
def CloneCopy
def CloneView
def GetVecLength
def GetNumberVecs
def MvTimesMatAddMv
def MvAddMv
def MvTransMv
def MvDot
def MvNorm
def SetBlock
def MvScale
def MvRandom
def MvInit
def MvPrint
def __init__

Public Attributes

 this


Detailed Description

Proxy of C++ Anasazi::MultiVecTraits<(double,Epetra_MultiVector)> class

Member Function Documentation

def PyTrilinos::Anasazi::MultiVecTraitsEpetra::__init__ (   self,
  args 
)

__init__(self) -> MultiVecTraitsEpetra

Virtual base class which defines basic traits for the multi-vector
type.

An adapter for this traits class must exist for the MV type. If not,
this class will produce a compile-time error.

C++ includes: AnasaziMultiVecTraits.hpp 

def PyTrilinos::Anasazi::MultiVecTraitsEpetra::__init__ (   self,
  args 
)

__init__(self) -> MultiVecTraitsEpetra

Virtual base class which defines basic traits for the multi-vector
type.

An adapter for this traits class must exist for the MV type. If not,
this class will produce a compile-time error.

C++ includes: AnasaziMultiVecTraits.hpp 

def PyTrilinos::Anasazi::MultiVecTraitsEpetra::Clone (   args  ) 

Clone(Epetra_MultiVector mv, int numvecs) -> Teuchos::RCP<(Epetra_MultiVector)>

static
Teuchos::RCP<MV> Anasazi::MultiVecTraits< ScalarType, MV
>::Clone(const MV &mv, const int numvecs)

Creates a new empty MV containing numvecs columns.

Reference-counted pointer to the new multivector of type MV. 

def PyTrilinos::Anasazi::MultiVecTraitsEpetra::Clone (   args  ) 

Clone(Epetra_MultiVector mv, int numvecs) -> Teuchos::RCP<(Epetra_MultiVector)>

static
Teuchos::RCP<MV> Anasazi::MultiVecTraits< ScalarType, MV
>::Clone(const MV &mv, const int numvecs)

Creates a new empty MV containing numvecs columns.

Reference-counted pointer to the new multivector of type MV. 

def PyTrilinos::Anasazi::MultiVecTraitsEpetra::CloneCopy (   args  ) 

CloneCopy(Epetra_MultiVector mv) -> Teuchos::RCP<(Epetra_MultiVector)>
CloneCopy(Epetra_MultiVector mv, VectorInt index) -> Teuchos::RCP<(Epetra_MultiVector)>

static
Teuchos::RCP<MV> Anasazi::MultiVecTraits< ScalarType, MV
>::CloneCopy(const MV &mv, const std::vector< int > &index)

Creates a new MV and copies the selected contents of mv into the new
vector (deep copy).

The copied vectors from mv are indicated by the index.size() indices
in index. Reference-counted pointer to the new multivector of type MV.

def PyTrilinos::Anasazi::MultiVecTraitsEpetra::CloneCopy (   args  ) 

CloneCopy(Epetra_MultiVector mv) -> Teuchos::RCP<(Epetra_MultiVector)>
CloneCopy(Epetra_MultiVector mv, VectorInt index) -> Teuchos::RCP<(Epetra_MultiVector)>

static
Teuchos::RCP<MV> Anasazi::MultiVecTraits< ScalarType, MV
>::CloneCopy(const MV &mv, const std::vector< int > &index)

Creates a new MV and copies the selected contents of mv into the new
vector (deep copy).

The copied vectors from mv are indicated by the index.size() indices
in index. Reference-counted pointer to the new multivector of type MV.

def PyTrilinos::Anasazi::MultiVecTraitsEpetra::CloneView (   args  ) 

CloneView(Epetra_MultiVector mv, VectorInt index) -> Teuchos::RCP<(Epetra_MultiVector)>

static
Teuchos::RCP<const MV> Anasazi::MultiVecTraits< ScalarType, MV
>::CloneView(const MV &mv, const std::vector< int > &index)

Creates a new const MV that shares the selected contents of mv
(shallow copy).

The index of the numvecs vectors shallow copied from mv are indicated
by the indices given in index. Reference-counted pointer to the new
const multivector of type MV. 

def PyTrilinos::Anasazi::MultiVecTraitsEpetra::CloneView (   args  ) 

CloneView(Epetra_MultiVector mv, VectorInt index) -> Teuchos::RCP<(Epetra_MultiVector)>

static
Teuchos::RCP<const MV> Anasazi::MultiVecTraits< ScalarType, MV
>::CloneView(const MV &mv, const std::vector< int > &index)

Creates a new const MV that shares the selected contents of mv
(shallow copy).

The index of the numvecs vectors shallow copied from mv are indicated
by the indices given in index. Reference-counted pointer to the new
const multivector of type MV. 

def PyTrilinos::Anasazi::MultiVecTraitsEpetra::GetNumberVecs (   args  ) 

GetNumberVecs(Epetra_MultiVector mv) -> int

static
int Anasazi::MultiVecTraits< ScalarType, MV >::GetNumberVecs(const MV
&mv)

Obtain the number of vectors in mv. 

def PyTrilinos::Anasazi::MultiVecTraitsEpetra::GetNumberVecs (   args  ) 

GetNumberVecs(Epetra_MultiVector mv) -> int

static
int Anasazi::MultiVecTraits< ScalarType, MV >::GetNumberVecs(const MV
&mv)

Obtain the number of vectors in mv. 

def PyTrilinos::Anasazi::MultiVecTraitsEpetra::GetVecLength (   args  ) 

GetVecLength(Epetra_MultiVector mv) -> int

static
int Anasazi::MultiVecTraits< ScalarType, MV >::GetVecLength(const MV
&mv)

Obtain the vector length of mv. 

def PyTrilinos::Anasazi::MultiVecTraitsEpetra::GetVecLength (   args  ) 

GetVecLength(Epetra_MultiVector mv) -> int

static
int Anasazi::MultiVecTraits< ScalarType, MV >::GetVecLength(const MV
&mv)

Obtain the vector length of mv. 

def PyTrilinos::Anasazi::MultiVecTraitsEpetra::MvAddMv (   args  ) 

MvAddMv(double alpha, Epetra_MultiVector A, double beta, Epetra_MultiVector B, 
    Epetra_MultiVector mv)

static void
Anasazi::MultiVecTraits< ScalarType, MV >::MvAddMv(const ScalarType
alpha, const MV &A, const ScalarType beta, const MV &B, MV &mv)

Replace mv with $\\alpha A + \\beta B$. 

def PyTrilinos::Anasazi::MultiVecTraitsEpetra::MvAddMv (   args  ) 

MvAddMv(double alpha, Epetra_MultiVector A, double beta, Epetra_MultiVector B, 
    Epetra_MultiVector mv)

static void
Anasazi::MultiVecTraits< ScalarType, MV >::MvAddMv(const ScalarType
alpha, const MV &A, const ScalarType beta, const MV &B, MV &mv)

Replace mv with $\\alpha A + \\beta B$. 

def PyTrilinos::Anasazi::MultiVecTraitsEpetra::MvDot (   args  ) 

MvDot(Epetra_MultiVector A, Epetra_MultiVector B, std::vector<(double,std::allocator<(double)>)> b)

static void
Anasazi::MultiVecTraits< ScalarType, MV >::MvDot(const MV &mv, const
MV &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. $b[i] = A[i]^Hmv[i]$.

def PyTrilinos::Anasazi::MultiVecTraitsEpetra::MvDot (   args  ) 

MvDot(Epetra_MultiVector A, Epetra_MultiVector B, std::vector<(double,std::allocator<(double)>)> b)

static void
Anasazi::MultiVecTraits< ScalarType, MV >::MvDot(const MV &mv, const
MV &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. $b[i] = A[i]^Hmv[i]$.

def PyTrilinos::Anasazi::MultiVecTraitsEpetra::MvInit (   args  ) 

MvInit(Epetra_MultiVector mv, double alpha = Teuchos::ScalarTraits< double >::zero())

static void
Anasazi::MultiVecTraits< ScalarType, MV >::MvInit(MV &mv, const
ScalarType alpha=Teuchos::ScalarTraits< ScalarType >::zero())

Replace each element of the vectors in mv with alpha. 

def PyTrilinos::Anasazi::MultiVecTraitsEpetra::MvInit (   args  ) 

MvInit(Epetra_MultiVector mv, double alpha = Teuchos::ScalarTraits< double >::zero())

static void
Anasazi::MultiVecTraits< ScalarType, MV >::MvInit(MV &mv, const
ScalarType alpha=Teuchos::ScalarTraits< ScalarType >::zero())

Replace each element of the vectors in mv with alpha. 

def PyTrilinos::Anasazi::MultiVecTraitsEpetra::MvNorm (   args  ) 

MvNorm(Epetra_MultiVector mv, std::vector<(double,std::allocator<(double)>)> normvec)

static void
Anasazi::MultiVecTraits< ScalarType, MV >::MvNorm(const MV &mv,
std::vector< typename Teuchos::ScalarTraits< ScalarType
>::magnitudeType > &normvec)

Compute the 2-norm of each individual vector of mv. Upon return,
normvec[i] holds the value of $||mv_i||_2$, the i-th column of mv. 

def PyTrilinos::Anasazi::MultiVecTraitsEpetra::MvNorm (   args  ) 

MvNorm(Epetra_MultiVector mv, std::vector<(double,std::allocator<(double)>)> normvec)

static void
Anasazi::MultiVecTraits< ScalarType, MV >::MvNorm(const MV &mv,
std::vector< typename Teuchos::ScalarTraits< ScalarType
>::magnitudeType > &normvec)

Compute the 2-norm of each individual vector of mv. Upon return,
normvec[i] holds the value of $||mv_i||_2$, the i-th column of mv. 

def PyTrilinos::Anasazi::MultiVecTraitsEpetra::MvPrint (   args  ) 

MvPrint(Epetra_MultiVector mv, ostream os)

static void
Anasazi::MultiVecTraits< ScalarType, MV >::MvPrint(const MV &mv,
std::ostream &os)

Print the mv multi-vector to the os output stream. 

def PyTrilinos::Anasazi::MultiVecTraitsEpetra::MvPrint (   args  ) 

MvPrint(Epetra_MultiVector mv, ostream os)

static void
Anasazi::MultiVecTraits< ScalarType, MV >::MvPrint(const MV &mv,
std::ostream &os)

Print the mv multi-vector to the os output stream. 

def PyTrilinos::Anasazi::MultiVecTraitsEpetra::MvRandom (   args  ) 

MvRandom(Epetra_MultiVector mv)

static void
Anasazi::MultiVecTraits< ScalarType, MV >::MvRandom(MV &mv)

Replace the vectors in mv with random vectors. 

def PyTrilinos::Anasazi::MultiVecTraitsEpetra::MvRandom (   args  ) 

MvRandom(Epetra_MultiVector mv)

static void
Anasazi::MultiVecTraits< ScalarType, MV >::MvRandom(MV &mv)

Replace the vectors in mv with random vectors. 

def PyTrilinos::Anasazi::MultiVecTraitsEpetra::MvScale (   args  ) 

MvScale(Epetra_MultiVector mv, double alpha)
MvScale(Epetra_MultiVector mv, std::vector<(double,std::allocator<(double)>)> alpha)

static void
Anasazi::MultiVecTraits< ScalarType, MV >::MvScale(MV &mv, const
std::vector< ScalarType > &alpha)

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

def PyTrilinos::Anasazi::MultiVecTraitsEpetra::MvScale (   args  ) 

MvScale(Epetra_MultiVector mv, double alpha)
MvScale(Epetra_MultiVector mv, std::vector<(double,std::allocator<(double)>)> alpha)

static void
Anasazi::MultiVecTraits< ScalarType, MV >::MvScale(MV &mv, const
std::vector< ScalarType > &alpha)

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

def PyTrilinos::Anasazi::MultiVecTraitsEpetra::MvTimesMatAddMv (   args  ) 

MvTimesMatAddMv(double alpha, Epetra_MultiVector A, Teuchos::SerialDenseMatrix<(int,double)> B, 
    double beta, Epetra_MultiVector mv)

static void Anasazi::MultiVecTraits< ScalarType, MV
>::MvTimesMatAddMv(const ScalarType alpha, const MV &A, const
Teuchos::SerialDenseMatrix< int, ScalarType > &B, const ScalarType
beta, MV &mv)

Update mv with $ \\alpha AB + \\beta mv $. 

def PyTrilinos::Anasazi::MultiVecTraitsEpetra::MvTimesMatAddMv (   args  ) 

MvTimesMatAddMv(double alpha, Epetra_MultiVector A, Teuchos::SerialDenseMatrix<(int,double)> B, 
    double beta, Epetra_MultiVector mv)

static void Anasazi::MultiVecTraits< ScalarType, MV
>::MvTimesMatAddMv(const ScalarType alpha, const MV &A, const
Teuchos::SerialDenseMatrix< int, ScalarType > &B, const ScalarType
beta, MV &mv)

Update mv with $ \\alpha AB + \\beta mv $. 

def PyTrilinos::Anasazi::MultiVecTraitsEpetra::MvTransMv (   args  ) 

MvTransMv(double alpha, Epetra_MultiVector A, Epetra_MultiVector mv, 
    Teuchos::SerialDenseMatrix<(int,double)> B)

static
void Anasazi::MultiVecTraits< ScalarType, MV >::MvTransMv(const
ScalarType alpha, const MV &A, const MV &mv,
Teuchos::SerialDenseMatrix< int, ScalarType > &B)

Compute a dense matrix B through the matrix-matrix multiply $
\\alpha A^Hmv $. 

def PyTrilinos::Anasazi::MultiVecTraitsEpetra::MvTransMv (   args  ) 

MvTransMv(double alpha, Epetra_MultiVector A, Epetra_MultiVector mv, 
    Teuchos::SerialDenseMatrix<(int,double)> B)

static
void Anasazi::MultiVecTraits< ScalarType, MV >::MvTransMv(const
ScalarType alpha, const MV &A, const MV &mv,
Teuchos::SerialDenseMatrix< int, ScalarType > &B)

Compute a dense matrix B through the matrix-matrix multiply $
\\alpha A^Hmv $. 

def PyTrilinos::Anasazi::MultiVecTraitsEpetra::SetBlock (   args  ) 

SetBlock(Epetra_MultiVector A, VectorInt index, Epetra_MultiVector mv)

static void
Anasazi::MultiVecTraits< ScalarType, MV >::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.

The numvecs vectors in A are copied to a subset of vectors in mv
indicated by the indices given in index, i.e.  mv[index[i]] = A[i]. 

def PyTrilinos::Anasazi::MultiVecTraitsEpetra::SetBlock (   args  ) 

SetBlock(Epetra_MultiVector A, VectorInt index, Epetra_MultiVector mv)

static void
Anasazi::MultiVecTraits< ScalarType, MV >::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.

The numvecs vectors in A are copied to a subset of vectors in mv
indicated by the indices given in index, i.e.  mv[index[i]] = A[i]. 


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

Generated on Thu Dec 17 11:00:19 2009 for PyTrilinos by  doxygen 1.5.9