PlayaFunctors::Random< Scalar > Class Template Reference

Set each element to a random scalar. More...

List of all members.

Public Member Functions

 Random ()
Scalar operator() (const Scalar &x) const
std::string description () const

Detailed Description

template<class Scalar>
class PlayaFunctors::Random< Scalar >

Set each element to a random scalar.

Definition at line 51 of file PlayaVectorFunctorsImpl.hpp.

Constructor & Destructor Documentation

template<class Scalar >
PlayaFunctors::Random< Scalar >::Random (  )  [inline]

Definition at line 55 of file PlayaVectorFunctorsImpl.hpp.

Member Function Documentation

template<class Scalar >
std::string PlayaFunctors::Random< Scalar >::description (  )  const [inline]

Definition at line 62 of file PlayaVectorFunctorsImpl.hpp.

template<class Scalar >
Scalar PlayaFunctors::Random< Scalar >::operator() ( const Scalar &  x  )  const [inline]

Definition at line 58 of file PlayaVectorFunctorsImpl.hpp.

References Playa::Rand::val().

Site Contact