Anasazi  Version of the Day
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
Public Member Functions | List of all members
Anasazi::EpetraW2SymMVOp Class Reference

Adapter class for creating a weighted symmetric operator from an Epetra_MultiVector and Epetra_Operator. More...

#include <AnasaziEpetraAdapter.hpp>

Inheritance diagram for Anasazi::EpetraW2SymMVOp:
Anasazi::Operator< double >

Public Member Functions

 EpetraW2SymMVOp (const Teuchos::RCP< const Epetra_MultiVector > &MV, const Teuchos::RCP< Epetra_Operator > &OP)
 Basic constructor for applying operator $ A^T*W*A$. More...
 
 ~EpetraW2SymMVOp ()
 Destructor. More...
 
void Apply (const MultiVec< double > &X, MultiVec< double > &Y) const
 Apply method. More...
 
- Public Member Functions inherited from Anasazi::Operator< double >
 Operator ()
 Default constructor. More...
 
virtual ~Operator ()
 Destructor. More...
 

Detailed Description

Adapter class for creating a weighted symmetric operator from an Epetra_MultiVector and Epetra_Operator.

This class will apply the operation $(WA)^T*WA$ for the Apply method of the Anasazi::Operator. The Anasazi::EpetraW2SymMvOp operator is useful when trying to compute a few singular values of the Epetra_MultiVector $ A$ under the weighting matrix $ W$. The singular values are the square-root of the eigenvalues of $(WA)^T*WA$.

Note
The Epetra package performs double-precision arithmetic, so the use of Epetra with Anasazi will only provide a double-precision eigensolver.

Definition at line 635 of file AnasaziEpetraAdapter.hpp.

Constructor & Destructor Documentation

Anasazi::EpetraW2SymMVOp::EpetraW2SymMVOp ( const Teuchos::RCP< const Epetra_MultiVector > &  MV,
const Teuchos::RCP< Epetra_Operator > &  OP 
)

Basic constructor for applying operator $ A^T*W*A$.

Definition at line 616 of file AnasaziEpetraAdapter.cpp.

Anasazi::EpetraW2SymMVOp::~EpetraW2SymMVOp ( )
inline

Destructor.

Definition at line 642 of file AnasaziEpetraAdapter.hpp.

Member Function Documentation

void Anasazi::EpetraW2SymMVOp::Apply ( const MultiVec< double > &  X,
MultiVec< double > &  Y 
) const
virtual

Apply method.

This method will apply $(WA)^T*WA$ to X, returning Y.

Implements Anasazi::Operator< double >.

Definition at line 628 of file AnasaziEpetraAdapter.cpp.


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