Support functions for LinearOpBase interface
[C++ code for foundational Thyra operator/vector interfaces]


Functions

template<class Scalar>
bool Thyra::opSupported (const LinearOpBase< Scalar > &M, ETransp M_trans)
 Determines if an operation is supported for a single scalar type.
template<class RangeScalar, class DomainScalar>
void Thyra::apply (const LinearOpBase< RangeScalar, DomainScalar > &M, const EConj conj, const MultiVectorBase< DomainScalar > &X, MultiVectorBase< RangeScalar > *Y, const RangeScalar alpha, const RangeScalar beta)
 Call LinearOpBase::apply() as a global function call.
template<class RangeScalar, class DomainScalar>
void Thyra::applyTranspose (const LinearOpBase< RangeScalar, DomainScalar > &M, const EConj conj, const MultiVectorBase< RangeScalar > &X, MultiVectorBase< DomainScalar > *Y, const DomainScalar alpha, const DomainScalar beta)
 Call LinearOpBase::applyTranspose() as a global function call.
template<class Scalar>
void Thyra::apply (const LinearOpBase< Scalar > &M, const ETransp M_trans, const MultiVectorBase< Scalar > &X, MultiVectorBase< Scalar > *Y, const Scalar alpha, const Scalar beta)
 Call LinearOpBase::apply() or LinearOpBase::applyTranspose() as a global function call (for a single scalar type).

Detailed Description

These functions allow a client to use a LinearOpBase object more easily in simpler use cases.

Function Documentation

template<class Scalar>
bool opSupported const LinearOpBase< Scalar > &  M,
ETransp  M_trans
[inline]
 

Determines if an operation is supported for a single scalar type.

Definition at line 387 of file Thyra_LinearOpBaseDecl.hpp.

template<class RangeScalar, class DomainScalar>
void apply const LinearOpBase< RangeScalar, DomainScalar > &  M,
const EConj  conj,
const MultiVectorBase< DomainScalar > &  X,
MultiVectorBase< RangeScalar > *  Y,
const RangeScalar  alpha,
const RangeScalar  beta
[inline]
 

Call LinearOpBase::apply() as a global function call.

Calls M.apply(conj,X,Y,alpha,beta).

Definition at line 400 of file Thyra_LinearOpBaseDecl.hpp.

template<class RangeScalar, class DomainScalar>
void applyTranspose const LinearOpBase< RangeScalar, DomainScalar > &  M,
const EConj  conj,
const MultiVectorBase< RangeScalar > &  X,
MultiVectorBase< DomainScalar > *  Y,
const DomainScalar  alpha,
const DomainScalar  beta
[inline]
 

Call LinearOpBase::applyTranspose() as a global function call.

Calls M.applyTranspose(conj,X,Y,alpha,beta).

Definition at line 453 of file Thyra_LinearOpBaseDecl.hpp.

template<class Scalar>
void apply const LinearOpBase< Scalar > &  M,
const ETransp  M_trans,
const MultiVectorBase< Scalar > &  X,
MultiVectorBase< Scalar > *  Y,
const Scalar  alpha,
const Scalar  beta
[inline]
 

Call LinearOpBase::apply() or LinearOpBase::applyTranspose() as a global function call (for a single scalar type).

Calls M.apply(...,X,Y,alpha,beta) or M.applyTranspose(...,X,Y,alpha,beta).

Definition at line 509 of file Thyra_LinearOpBaseDecl.hpp.


Generated on Thu Sep 18 12:32:11 2008 for Fundamental Thyra ANA Operator/Vector Interfaces by doxygen 1.3.9.1