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 >

List of all members.

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$.
 ~EpetraW2SymMVOp ()
 Destructor.
void Apply (const MultiVec< double > &X, MultiVec< double > &Y) const
 Apply method.

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 607 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 635 of file AnasaziEpetraAdapter.cpp.

Anasazi::EpetraW2SymMVOp::~EpetraW2SymMVOp (  )  [inline]

Destructor.

Definition at line 614 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 647 of file AnasaziEpetraAdapter.cpp.


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends
Generated on Wed Apr 13 09:57:00 2011 for Anasazi by  doxygen 1.6.3