Thyra::OpTimesLC< Scalar, Node > Class Template Reference

#include <Thyra_LinearCombinationDecl.hpp>

Inheritance diagram for Thyra::OpTimesLC< Scalar, Node >:

[legend]
List of all members.

Public Member Functions

virtual ~OpTimesLC ()
 OpTimesLC (const Scalar &alpha, const Node &x)
 OpTimesLC (const Scalar &alpha, const Thyra::ConstLinearOperator< Scalar > &op, const Node &x)
void evalInto (Thyra::Vector< Scalar > &result) const
void addInto (Thyra::Vector< Scalar > &result, LCSign sign=LCAdd) const
virtual Thyra::Vector< Scalar > formVector () const
bool containsVector (const Thyra::VectorBase< Scalar > *vec) const
const Thyra::ConstLinearOperator<
Scalar > & 
op () const
const Scalar & alpha () const
const Node & node () const

Detailed Description

template<class Scalar, class Node>
class Thyra::OpTimesLC< Scalar, Node >

Class OpTimesLC holds an operator times something convertible to a vector

Definition at line 65 of file Thyra_LinearCombinationDecl.hpp.


Member Function Documentation

template<class Scalar, class Node>
void Thyra::OpTimesLC< Scalar, Node >::evalInto ( Thyra::Vector< Scalar > &  result  )  const [inline, virtual]

Evaluate the term into the argument vector, overwriting the previous value of the argument.

Implements Thyra::Converter< Scalar, Thyra::ConstVector< Scalar > >.

Definition at line 57 of file Thyra_LinearCombinationImpl.hpp.

template<class Scalar, class Node>
void Thyra::OpTimesLC< Scalar, Node >::addInto ( Thyra::Vector< Scalar > &  result,
LCSign  sign = LCAdd 
) const [inline, virtual]

Add the term into the argument vector

Implements Thyra::Converter< Scalar, Thyra::ConstVector< Scalar > >.

Definition at line 71 of file Thyra_LinearCombinationImpl.hpp.

template<class Scalar, class Node>
Thyra::Vector< Scalar > Thyra::OpTimesLC< Scalar, Node >::formVector (  )  const [inline, virtual]

Evaluate the term and return its value

Implements Thyra::ConvertibleToVector< Scalar >.

Definition at line 88 of file Thyra_LinearCombinationImpl.hpp.

template<class Scalar, class Node>
bool Thyra::OpTimesLC< Scalar, Node >::containsVector ( const Thyra::VectorBase< Scalar > *  vec  )  const [inline, virtual]

Determine whether this term contains the given vector

Implements Thyra::Converter< Scalar, Thyra::ConstVector< Scalar > >.

Definition at line 106 of file Thyra_LinearCombinationImpl.hpp.


The documentation for this class was generated from the following files:
Generated on Tue Oct 20 12:47:00 2009 for Thyra Operator/Vector Support by doxygen 1.4.7