RVL::RVLLinCombObject< Scalar > Class Template Reference

This binary function object performs a linear combination u = a*v + b*u. More...

#include <locallinalg.hh>

Inheritance diagram for RVL::RVLLinCombObject< Scalar >:

RVL::BinaryLocalEvaluation< Scalar > RVL::LinCombObject< Scalar > RVL::LocalEvaluation< Scalar > RVL::FunctionObject RVL::Writeable List of all members.

Public Member Functions

 RVLLinCombObject (Scalar ain=ScalarFieldTraits< Scalar >::One(), Scalar bin=ScalarFieldTraits< Scalar >::One())
 RVLLinCombObject (const RVLLinCombObject< Scalar > &lc)
 ~RVLLinCombObject ()
void setScalar (Scalar ain, Scalar bin)
 runtime assignment of coefficients
void operator() (LocalDataContainer< Scalar > &u, LocalDataContainer< Scalar > const &v)
string getName () const

Detailed Description

template<class Scalar>
class RVL::RVLLinCombObject< Scalar >

This binary function object performs a linear combination u = a*v + b*u.

Standard implementation, should be usable across a wide variety of data structures underlying vector algebra.

Definition at line 98 of file locallinalg.hh.


Constructor & Destructor Documentation

template<class Scalar>
RVL::RVLLinCombObject< Scalar >::RVLLinCombObject ( Scalar  ain = ScalarFieldTraits<Scalar>::One(),
Scalar  bin = ScalarFieldTraits<Scalar>::One() 
)

Definition at line 103 of file locallinalg.hh.

template<class Scalar>
RVL::RVLLinCombObject< Scalar >::RVLLinCombObject ( const RVLLinCombObject< Scalar > &  lc  ) 

Definition at line 105 of file locallinalg.hh.

template<class Scalar>
RVL::RVLLinCombObject< Scalar >::~RVLLinCombObject (  ) 

Definition at line 106 of file locallinalg.hh.


Member Function Documentation

template<class Scalar>
void RVL::RVLLinCombObject< Scalar >::setScalar ( Scalar  ain,
Scalar  bin 
) [virtual]

runtime assignment of coefficients

Implements RVL::LinCombObject< Scalar >.

Definition at line 109 of file locallinalg.hh.

template<class Scalar>
void RVL::RVLLinCombObject< Scalar >::operator() ( LocalDataContainer< Scalar > &  u,
LocalDataContainer< Scalar > const &  v 
) [virtual]

Implements RVL::BinaryLocalEvaluation< Scalar >.

Definition at line 113 of file locallinalg.hh.

template<class Scalar>
string RVL::RVLLinCombObject< Scalar >::getName (  )  const [virtual]

Implements RVL::FunctionObject.

Definition at line 183 of file locallinalg.hh.


The documentation for this class was generated from the following file:
Generated on 5 Jan 2017 for LocalRVL by  doxygen 1.4.7