Anasazi::EpetraSymMVOp Class Reference

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

#include <AnasaziEpetraAdapter.hpp>

Inheritance diagram for Anasazi::EpetraSymMVOp:

[legend]
Collaboration diagram for Anasazi::EpetraSymMVOp:
[legend]
List of all members.

Public Member Functions

 EpetraSymMVOp (const Teuchos::RefCountPtr< Epetra_MultiVector > &MV, const bool isTrans=false)
 Basic constructor for applying operator $A^TA$ [default] or $AA^T$.
 ~EpetraSymMVOp ()
 Destructor.
ReturnType Apply (const MultiVec< double > &X, MultiVec< double > &Y) const
 Apply method.

Detailed Description

Adapter class for creating a symmetric operator from an Epetra_MultiVector.

This class will apply the operation $A^TA$ [default] or $AA^T$, for the Apply method of the Epetra_Operator / Anasazi::Operator. The Anasazi::EpetraSymMvOp operator is useful when trying to compute a few singular values of the Epetra_MultiVector $A$. The singular values are the square-root of the eigenvalues of $A^TA$ and $AA^T$.

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


Constructor & Destructor Documentation

Anasazi::EpetraSymMVOp::EpetraSymMVOp const Teuchos::RefCountPtr< Epetra_MultiVector > &  MV,
const bool  isTrans = false
 

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$.


Member Function Documentation

ReturnType Anasazi::EpetraSymMVOp::Apply const MultiVec< double > &  X,
MultiVec< double > &  Y
const [virtual]
 

Apply method.

This method will apply $A^TA$ or $AA^T$ to X, returning Y.

Implements Anasazi::Operator< double >.


The documentation for this class was generated from the following file:
Generated on Thu Sep 18 12:41:36 2008 for Anasazi by doxygen 1.3.9.1