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

Public Member Functions

 EpetraSymMVOp (const Teuchos::RCP< const Epetra_MultiVector > &MV, bool isTrans=false)
 Basic constructor for applying operator $A^TA$ [default] or $AA^T$. More...
 
 ~EpetraSymMVOp ()
 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 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 566 of file AnasaziEpetraAdapter.hpp.

Constructor & Destructor Documentation

Anasazi::EpetraSymMVOp::EpetraSymMVOp ( const Teuchos::RCP< const Epetra_MultiVector > &  MV,
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 548 of file AnasaziEpetraAdapter.cpp.

Anasazi::EpetraSymMVOp::~EpetraSymMVOp ( )
inline

Destructor.

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


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