Anasazi::EpetraWSymMVOp 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::EpetraWSymMVOp:

Anasazi::Operator< double > List of all members.

Public Member Functions

 EpetraWSymMVOp (const Teuchos::RCP< const Epetra_MultiVector > &MV, const Teuchos::RCP< Epetra_Operator > &OP)
 Basic constructor for applying operator $A^TA$ [default] or $AA^T$.
 ~EpetraWSymMVOp ()
 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::EpetraWSymMvOp 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 506 of file AnasaziEpetraAdapter.hpp.


Constructor & Destructor Documentation

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

Basic constructor for applying operator $A^TA$ [default] or $AA^T$.

If isTrans is false this operator will apply $A^TA$, else it will apply $AA^T$.

Definition at line 588 of file AnasaziEpetraAdapter.cpp.

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

Destructor.

Definition at line 515 of file AnasaziEpetraAdapter.hpp.


Member Function Documentation

void Anasazi::EpetraWSymMVOp::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 600 of file AnasaziEpetraAdapter.cpp.


The documentation for this class was generated from the following files:
Generated on Tue Oct 20 12:45:19 2009 for Anasazi by doxygen 1.4.7