Public Member Functions | |
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__ |
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 |
Anasazi's templated virtual class for constructing a multi-vector that can interface with the MultiVecTraits class used by the eigensolvers. A concrete implementation of this class is necessary. The user can create their own implementation if those supplied are not suitable for their needs. Ulrich Hetmaniuk, Rich Lehoucq, and Heidi Thornquist C++ includes: AnasaziMultiVec.hpp
def PyTrilinos::Anasazi::MultiVecDouble::Clone | ( | self, | ||
args | ||||
) |
Clone(self, int numvecs) -> MultiVecDouble virtual MultiVec<ScalarType>* Anasazi::MultiVec< ScalarType >::Clone(const int numvecs) const =0 Creates a new empty Anasazi::MultiVec containing numvecs columns. Pointer to the new multivector
Reimplemented in PyTrilinos::Anasazi::EpetraMultiVec, and PyTrilinos::Anasazi::EpetraMultiVec.
def PyTrilinos::Anasazi::MultiVecDouble::Clone | ( | self, | ||
args | ||||
) |
Clone(self, int numvecs) -> MultiVecDouble virtual MultiVec<ScalarType>* Anasazi::MultiVec< ScalarType >::Clone(const int numvecs) const =0 Creates a new empty Anasazi::MultiVec containing numvecs columns. Pointer to the new multivector
Reimplemented in PyTrilinos::Anasazi::EpetraMultiVec, and PyTrilinos::Anasazi::EpetraMultiVec.
def PyTrilinos::Anasazi::MultiVecDouble::CloneCopy | ( | self, | ||
args | ||||
) |
CloneCopy(self) -> MultiVecDouble CloneCopy(self, VectorInt index) -> MultiVecDouble virtual MultiVec<ScalarType>* Anasazi::MultiVec< ScalarType >::CloneCopy(const std::vector< int > &index) const =0 Creates a new Anasazi::MultiVec and copies the selected contents of *this into the new vector (deep copy). The copied vectors from *this are indicated by the index.size() indices in index. Pointer to the new multivector
Reimplemented in PyTrilinos::Anasazi::EpetraMultiVec, and PyTrilinos::Anasazi::EpetraMultiVec.
def PyTrilinos::Anasazi::MultiVecDouble::CloneCopy | ( | self, | ||
args | ||||
) |
CloneCopy(self) -> MultiVecDouble CloneCopy(self, VectorInt index) -> MultiVecDouble virtual MultiVec<ScalarType>* Anasazi::MultiVec< ScalarType >::CloneCopy(const std::vector< int > &index) const =0 Creates a new Anasazi::MultiVec and copies the selected contents of *this into the new vector (deep copy). The copied vectors from *this are indicated by the index.size() indices in index. Pointer to the new multivector
Reimplemented in PyTrilinos::Anasazi::EpetraMultiVec, and PyTrilinos::Anasazi::EpetraMultiVec.
def PyTrilinos::Anasazi::MultiVecDouble::CloneView | ( | self, | ||
args | ||||
) |
CloneView(self, VectorInt index) -> MultiVecDouble virtual MultiVec<ScalarType>* Anasazi::MultiVec< ScalarType >::CloneView(const std::vector< int > &index)=0 Creates a new Anasazi::MultiVec that shares the selected contents of *this. The index of the numvecs vectors shallow copied from *this are indicated by the indices given in index. Pointer to the new multivector
Reimplemented in PyTrilinos::Anasazi::EpetraMultiVec, and PyTrilinos::Anasazi::EpetraMultiVec.
def PyTrilinos::Anasazi::MultiVecDouble::CloneView | ( | self, | ||
args | ||||
) |
CloneView(self, VectorInt index) -> MultiVecDouble virtual MultiVec<ScalarType>* Anasazi::MultiVec< ScalarType >::CloneView(const std::vector< int > &index)=0 Creates a new Anasazi::MultiVec that shares the selected contents of *this. The index of the numvecs vectors shallow copied from *this are indicated by the indices given in index. Pointer to the new multivector
Reimplemented in PyTrilinos::Anasazi::EpetraMultiVec, and PyTrilinos::Anasazi::EpetraMultiVec.
def PyTrilinos::Anasazi::MultiVecDouble::GetNumberVecs | ( | self, | ||
args | ||||
) |
GetNumberVecs(self) -> int virtual int Anasazi::MultiVec< ScalarType >::GetNumberVecs() const =0 Obtain the number of vectors in *this.
Reimplemented in PyTrilinos::Anasazi::EpetraMultiVec, and PyTrilinos::Anasazi::EpetraMultiVec.
def PyTrilinos::Anasazi::MultiVecDouble::GetNumberVecs | ( | self, | ||
args | ||||
) |
GetNumberVecs(self) -> int virtual int Anasazi::MultiVec< ScalarType >::GetNumberVecs() const =0 Obtain the number of vectors in *this.
Reimplemented in PyTrilinos::Anasazi::EpetraMultiVec, and PyTrilinos::Anasazi::EpetraMultiVec.
def PyTrilinos::Anasazi::MultiVecDouble::GetVecLength | ( | self, | ||
args | ||||
) |
GetVecLength(self) -> int virtual int Anasazi::MultiVec< ScalarType >::GetVecLength() const =0 Obtain the vector length of *this.
Reimplemented in PyTrilinos::Anasazi::EpetraMultiVec, and PyTrilinos::Anasazi::EpetraMultiVec.
def PyTrilinos::Anasazi::MultiVecDouble::GetVecLength | ( | self, | ||
args | ||||
) |
GetVecLength(self) -> int virtual int Anasazi::MultiVec< ScalarType >::GetVecLength() const =0 Obtain the vector length of *this.
Reimplemented in PyTrilinos::Anasazi::EpetraMultiVec, and PyTrilinos::Anasazi::EpetraMultiVec.
def PyTrilinos::Anasazi::MultiVecDouble::MvAddMv | ( | self, | ||
args | ||||
) |
MvAddMv(self, double alpha, MultiVecDouble A, double beta, MultiVecDouble B) virtual void Anasazi::MultiVec< ScalarType >::MvAddMv(ScalarType alpha, const MultiVec< ScalarType > &A, ScalarType beta, const MultiVec< ScalarType > &B)=0 Replace *this with alpha * A + beta * B.
Reimplemented in PyTrilinos::Anasazi::EpetraMultiVec, and PyTrilinos::Anasazi::EpetraMultiVec.
def PyTrilinos::Anasazi::MultiVecDouble::MvAddMv | ( | self, | ||
args | ||||
) |
MvAddMv(self, double alpha, MultiVecDouble A, double beta, MultiVecDouble B) virtual void Anasazi::MultiVec< ScalarType >::MvAddMv(ScalarType alpha, const MultiVec< ScalarType > &A, ScalarType beta, const MultiVec< ScalarType > &B)=0 Replace *this with alpha * A + beta * B.
Reimplemented in PyTrilinos::Anasazi::EpetraMultiVec, and PyTrilinos::Anasazi::EpetraMultiVec.
def PyTrilinos::Anasazi::MultiVecDouble::MvDot | ( | self, | ||
args | ||||
) |
MvDot(self, MultiVecDouble A, std::vector<(double,std::allocator<(double)>)> b) virtual void Anasazi::MultiVec< ScalarType >::MvDot(const MultiVec< ScalarType > &A, std::vector< ScalarType > &b) const =0 Compute a vector b where the components are the individual dot- products, i.e. b[i] = A[i]^H* this[i] where A[i] is the i-th column of A.
Reimplemented in PyTrilinos::Anasazi::EpetraMultiVec, and PyTrilinos::Anasazi::EpetraMultiVec.
def PyTrilinos::Anasazi::MultiVecDouble::MvDot | ( | self, | ||
args | ||||
) |
MvDot(self, MultiVecDouble A, std::vector<(double,std::allocator<(double)>)> b) virtual void Anasazi::MultiVec< ScalarType >::MvDot(const MultiVec< ScalarType > &A, std::vector< ScalarType > &b) const =0 Compute a vector b where the components are the individual dot- products, i.e. b[i] = A[i]^H* this[i] where A[i] is the i-th column of A.
Reimplemented in PyTrilinos::Anasazi::EpetraMultiVec, and PyTrilinos::Anasazi::EpetraMultiVec.
def PyTrilinos::Anasazi::MultiVecDouble::MvInit | ( | self, | ||
args | ||||
) |
MvInit(self, double alpha) virtual void Anasazi::MultiVec< ScalarType >::MvInit(ScalarType alpha)=0 Replace each element of the vectors in *this with alpha.
Reimplemented in PyTrilinos::Anasazi::EpetraMultiVec, and PyTrilinos::Anasazi::EpetraMultiVec.
def PyTrilinos::Anasazi::MultiVecDouble::MvInit | ( | self, | ||
args | ||||
) |
MvInit(self, double alpha) virtual void Anasazi::MultiVec< ScalarType >::MvInit(ScalarType alpha)=0 Replace each element of the vectors in *this with alpha.
Reimplemented in PyTrilinos::Anasazi::EpetraMultiVec, and PyTrilinos::Anasazi::EpetraMultiVec.
def PyTrilinos::Anasazi::MultiVecDouble::MvNorm | ( | self, | ||
args | ||||
) |
MvNorm(self, std::vector<(Teuchos::ScalarTraits<(double)>::magnitudeType,std::allocator<(Teuchos::ScalarTraits<(double)>::magnitudeType)>)> normvec) virtual void Anasazi::MultiVec< ScalarType >::MvNorm(std::vector< typename Teuchos::ScalarTraits< ScalarType >::magnitudeType > &normvec) const =0 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.
Reimplemented in PyTrilinos::Anasazi::EpetraMultiVec, and PyTrilinos::Anasazi::EpetraMultiVec.
def PyTrilinos::Anasazi::MultiVecDouble::MvNorm | ( | self, | ||
args | ||||
) |
MvNorm(self, std::vector<(Teuchos::ScalarTraits<(double)>::magnitudeType,std::allocator<(Teuchos::ScalarTraits<(double)>::magnitudeType)>)> normvec) virtual void Anasazi::MultiVec< ScalarType >::MvNorm(std::vector< typename Teuchos::ScalarTraits< ScalarType >::magnitudeType > &normvec) const =0 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.
Reimplemented in PyTrilinos::Anasazi::EpetraMultiVec, and PyTrilinos::Anasazi::EpetraMultiVec.
def PyTrilinos::Anasazi::MultiVecDouble::MvPrint | ( | self, | ||
args | ||||
) |
MvPrint(self, ostream os) virtual void Anasazi::MultiVec< ScalarType >::MvPrint(std::ostream &os) const =0 Print *this multivector to the os output stream.
Reimplemented in PyTrilinos::Anasazi::EpetraMultiVec, and PyTrilinos::Anasazi::EpetraMultiVec.
def PyTrilinos::Anasazi::MultiVecDouble::MvPrint | ( | self, | ||
args | ||||
) |
MvPrint(self, ostream os) virtual void Anasazi::MultiVec< ScalarType >::MvPrint(std::ostream &os) const =0 Print *this multivector to the os output stream.
Reimplemented in PyTrilinos::Anasazi::EpetraMultiVec, and PyTrilinos::Anasazi::EpetraMultiVec.
def PyTrilinos::Anasazi::MultiVecDouble::MvRandom | ( | self, | ||
args | ||||
) |
MvRandom(self) virtual void Anasazi::MultiVec< ScalarType >::MvRandom()=0 Fill the vectors in *this with random numbers.
Reimplemented in PyTrilinos::Anasazi::EpetraMultiVec, and PyTrilinos::Anasazi::EpetraMultiVec.
def PyTrilinos::Anasazi::MultiVecDouble::MvRandom | ( | self, | ||
args | ||||
) |
MvRandom(self) virtual void Anasazi::MultiVec< ScalarType >::MvRandom()=0 Fill the vectors in *this with random numbers.
Reimplemented in PyTrilinos::Anasazi::EpetraMultiVec, and PyTrilinos::Anasazi::EpetraMultiVec.
def PyTrilinos::Anasazi::MultiVecDouble::MvScale | ( | self, | ||
args | ||||
) |
MvScale(self, double alpha) MvScale(self, std::vector<(double,std::allocator<(double)>)> alpha) virtual void Anasazi::MultiVec< ScalarType >::MvScale(const std::vector< ScalarType > &alpha)=0 Scale each element of the i-th vector in *this with alpha[i].
Reimplemented in PyTrilinos::Anasazi::EpetraMultiVec, and PyTrilinos::Anasazi::EpetraMultiVec.
def PyTrilinos::Anasazi::MultiVecDouble::MvScale | ( | self, | ||
args | ||||
) |
MvScale(self, double alpha) MvScale(self, std::vector<(double,std::allocator<(double)>)> alpha) virtual void Anasazi::MultiVec< ScalarType >::MvScale(const std::vector< ScalarType > &alpha)=0 Scale each element of the i-th vector in *this with alpha[i].
Reimplemented in PyTrilinos::Anasazi::EpetraMultiVec, and PyTrilinos::Anasazi::EpetraMultiVec.
def PyTrilinos::Anasazi::MultiVecDouble::MvTimesMatAddMv | ( | self, | ||
args | ||||
) |
MvTimesMatAddMv(self, double alpha, MultiVecDouble A, Teuchos::SerialDenseMatrix<(int,double)> B, double beta) virtual void Anasazi::MultiVec< ScalarType >::MvTimesMatAddMv(ScalarType alpha, const MultiVec< ScalarType > &A, const Teuchos::SerialDenseMatrix< int, ScalarType > &B, ScalarType beta)=0 Update *this with alpha * A * B + beta * ( *this).
Reimplemented in PyTrilinos::Anasazi::EpetraMultiVec, and PyTrilinos::Anasazi::EpetraMultiVec.
def PyTrilinos::Anasazi::MultiVecDouble::MvTimesMatAddMv | ( | self, | ||
args | ||||
) |
MvTimesMatAddMv(self, double alpha, MultiVecDouble A, Teuchos::SerialDenseMatrix<(int,double)> B, double beta) virtual void Anasazi::MultiVec< ScalarType >::MvTimesMatAddMv(ScalarType alpha, const MultiVec< ScalarType > &A, const Teuchos::SerialDenseMatrix< int, ScalarType > &B, ScalarType beta)=0 Update *this with alpha * A * B + beta * ( *this).
Reimplemented in PyTrilinos::Anasazi::EpetraMultiVec, and PyTrilinos::Anasazi::EpetraMultiVec.
def PyTrilinos::Anasazi::MultiVecDouble::MvTransMv | ( | self, | ||
args | ||||
) |
MvTransMv(self, double alpha, MultiVecDouble A, Teuchos::SerialDenseMatrix<(int,double)> B) virtual void Anasazi::MultiVec< ScalarType >::MvTransMv(ScalarType alpha, const MultiVec< ScalarType > &A, Teuchos::SerialDenseMatrix< int, ScalarType > &B) const =0 Compute a dense matrix B through the matrix-matrix multiply alpha * A^T * ( *this).
Reimplemented in PyTrilinos::Anasazi::EpetraMultiVec, and PyTrilinos::Anasazi::EpetraMultiVec.
def PyTrilinos::Anasazi::MultiVecDouble::MvTransMv | ( | self, | ||
args | ||||
) |
MvTransMv(self, double alpha, MultiVecDouble A, Teuchos::SerialDenseMatrix<(int,double)> B) virtual void Anasazi::MultiVec< ScalarType >::MvTransMv(ScalarType alpha, const MultiVec< ScalarType > &A, Teuchos::SerialDenseMatrix< int, ScalarType > &B) const =0 Compute a dense matrix B through the matrix-matrix multiply alpha * A^T * ( *this).
Reimplemented in PyTrilinos::Anasazi::EpetraMultiVec, and PyTrilinos::Anasazi::EpetraMultiVec.
def PyTrilinos::Anasazi::MultiVecDouble::SetBlock | ( | self, | ||
args | ||||
) |
SetBlock(self, MultiVecDouble A, VectorInt index) virtual void Anasazi::MultiVec< ScalarType >::SetBlock(const MultiVec< ScalarType > &A, const std::vector< int > &index)=0 Copy the vectors in A to a set of vectors in *this. The numvecs vectors in A are copied to a subset of vectors in *this indicated by the indices given in index.
Reimplemented in PyTrilinos::Anasazi::EpetraMultiVec, and PyTrilinos::Anasazi::EpetraMultiVec.
def PyTrilinos::Anasazi::MultiVecDouble::SetBlock | ( | self, | ||
args | ||||
) |
SetBlock(self, MultiVecDouble A, VectorInt index) virtual void Anasazi::MultiVec< ScalarType >::SetBlock(const MultiVec< ScalarType > &A, const std::vector< int > &index)=0 Copy the vectors in A to a set of vectors in *this. The numvecs vectors in A are copied to a subset of vectors in *this indicated by the indices given in index.
Reimplemented in PyTrilinos::Anasazi::EpetraMultiVec, and PyTrilinos::Anasazi::EpetraMultiVec.