Anasazi Version of the Day
Public Member Functions
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::RCP< const Epetra_MultiVector > &MV, bool isTrans=false)
 Basic constructor for applying operator $A^TA$ [default] or $AA^T$.
 ~EpetraSymMVOp ()
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$.

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

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

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


Definition at line 562 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 548 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