Anasazi::EpetraSymMVOp Class Reference

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

#include <AnasaziEpetraAdapter.hpp>

Inheritance diagram for Anasazi::EpetraSymMVOp:

Anasazi::Operator< double > 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.
void 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.

Definition at line 436 of file AnasaziEpetraAdapter.hpp.


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

Definition at line 517 of file AnasaziEpetraAdapter.cpp.

Anasazi::EpetraSymMVOp::~EpetraSymMVOp  )  [inline]
 

Destructor.

Definition at line 445 of file AnasaziEpetraAdapter.hpp.


Member Function Documentation

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

Definition at line 529 of file AnasaziEpetraAdapter.cpp.


The documentation for this class was generated from the following files:
Generated on Thu Sep 18 12:31:39 2008 for Anasazi by doxygen 1.3.9.1