Thyra::LC2< Scalar, Node1, Node2 > Class Template Reference

#include <Thyra_LinearCombinationDecl.hpp>

Inheritance diagram for Thyra::LC2< Scalar, Node1, Node2 >:

[legend]
List of all members.

Public Member Functions

virtual ~LC2 ()
 LC2 (const Node1 &x1, const Node2 &x2, LCSign sign=LCAdd)
void evalInto (Thyra::Vector< Scalar > &result) const
 Evaluate this object, writing the results into the acceptor std::vector.
void addInto (Thyra::Vector< Scalar > &result, LCSign sign=LCAdd) const
 Evaluate this object, adding the results into the argument std::vector. The sign argument indicates whether this operation is an addition or a subtraction.
virtual Thyra::Vector< Scalar > formVector () const
bool containsVector (const Thyra::VectorBase< Scalar > *vec) const
 Determine whether this object contains the given std::vector.

Detailed Description

template<class Scalar, class Node1, class Node2>
class Thyra::LC2< Scalar, Node1, Node2 >

Class LC2 is a 2-term linear combination

Definition at line 132 of file Thyra_LinearCombinationDecl.hpp.


Member Function Documentation

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

Evaluate this object, writing the results into the acceptor std::vector.

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

Definition at line 128 of file Thyra_LinearCombinationImpl.hpp.

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

Evaluate this object, adding the results into the argument std::vector. The sign argument indicates whether this operation is an addition or a subtraction.

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

Definition at line 135 of file Thyra_LinearCombinationImpl.hpp.

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

Determine whether this object contains the given std::vector.

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

Definition at line 124 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