Anasazi  Version of the Day
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
List of all members
Anasazi::OperatorTraits< ScalarType, MV, OP > Class Template Reference

Virtual base class which defines basic traits for the operator type. More...

#include <AnasaziOperatorTraits.hpp>

Static Public Member Functions

Operator application method.
static void Apply (const OP &Op, const MV &x, MV &y)
 Application method which performs operation y = Op*x. An OperatorError exception is thrown if there is an error. More...
 

Detailed Description

template<class ScalarType, class MV, class OP>
class Anasazi::OperatorTraits< ScalarType, MV, OP >

Virtual base class which defines basic traits for the operator type.

An adapter for this traits class must exist for the MV and OP types. If not, this class will produce a compile-time error.

Examples:
BlockKrylovSchur/BlockKrylovSchurEpetraEx.cpp, BlockKrylovSchur/BlockKrylovSchurEpetraExGenBelos.cpp, GeneralizedDavidson/GeneralizedDavidsonEpetraExFileIfpack.cpp, LOBPCGCustomStatusTest.cpp, TraceMinDavidsonGeneralizedEx.cpp, TraceMinDavidsonLaplacianEx.cpp, TraceMinDavidsonSpecTransEx.cpp, and TraceMinDavidsonUserOpEx.cpp.

Definition at line 52 of file AnasaziOperatorTraits.hpp.

Member Function Documentation

template<class ScalarType , class MV , class OP >
static void Anasazi::OperatorTraits< ScalarType, MV, OP >::Apply ( const OP &  Op,
const MV &  x,
MV &  y 
)
inlinestatic

Application method which performs operation y = Op*x. An OperatorError exception is thrown if there is an error.

Definition at line 60 of file AnasaziOperatorTraits.hpp.


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