RVL::RVLRandomize< Scalar > Class Template Reference

Assigns random values in [a, b] to each entry in the LDC where the defaults are a = 0, b = 1. More...

#include <functions.hh>

Inheritance diagram for RVL::RVLRandomize< Scalar >:

RVL::UnaryLocalFunctionObject< Scalar > RVL::FunctionObject RVL::UnaryLocalEvaluation< Scalar > RVL::Writeable RVL::LocalEvaluation< Scalar > List of all members.

Public Member Functions

 RVLRandomize ()
 RVLRandomize (long seed, Scalar _a=0, Scalar _b=1)
 ~RVLRandomize ()
virtual bool readsData (size_t i=0)
void operator() (LocalDataContainer< Scalar > &v)
string getName () const

Detailed Description

template<class Scalar>
class RVL::RVLRandomize< Scalar >

Assigns random values in [a, b] to each entry in the LDC where the defaults are a = 0, b = 1.

Definition at line 402 of file functions.hh.


Constructor & Destructor Documentation

template<class Scalar>
RVL::RVLRandomize< Scalar >::RVLRandomize (  ) 

Definition at line 410 of file functions.hh.

template<class Scalar>
RVL::RVLRandomize< Scalar >::RVLRandomize ( long  seed,
Scalar  _a = 0,
Scalar  _b = 1 
)

Definition at line 411 of file functions.hh.

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

Definition at line 413 of file functions.hh.


Member Function Documentation

template<class Scalar>
virtual bool RVL::RVLRandomize< Scalar >::readsData ( size_t  i = 0  )  [virtual]

Definition at line 415 of file functions.hh.

template<class Scalar>
void RVL::RVLRandomize< Scalar >::operator() ( LocalDataContainer< Scalar > &  v  )  [virtual]

Implements RVL::UnaryLocalEvaluation< Scalar >.

Definition at line 418 of file functions.hh.

References RVL::LocalDataContainer< DataType >::getData(), and RVL::LocalDataContainer< DataType >::getSize().

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

Implements RVL::FunctionObject.

Definition at line 447 of file functions.hh.


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