Anasazi Version of the Day
Public Member Functions
Anasazi::EpetraWSymMVOp Class Reference

Adapter class for creating a weighted 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^T*W*A$.
 ~EpetraWSymMVOp ()
 Destructor.
void Apply (const MultiVec< double > &X, MultiVec< double > &Y) const
 Apply method.

Detailed Description

Adapter class for creating a weighted operator from an Epetra_MultiVector and Epetra_Operator.

This class will apply the operation $A^T*W*A$ 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 $A^T*W*A$.

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 592 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^T*W*A$.

Definition at line 594 of file AnasaziEpetraAdapter.cpp.

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

Destructor.

Definition at line 599 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 606 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