Public Member Functions | Private Attributes
PlayaFunctors::SetConstant< Scalar > Class Template Reference

Setting all elements to a constant. More...

List of all members.

Public Member Functions

 SetConstant (const Scalar &alpha)
Scalar operator() (const Scalar &x) const
std::string description () const

Private Attributes

Scalar alpha_

Detailed Description

template<class Scalar>
class PlayaFunctors::SetConstant< Scalar >

Setting all elements to a constant.

Definition at line 143 of file PlayaVectorFunctorsImpl.hpp.


Constructor & Destructor Documentation

template<class Scalar >
PlayaFunctors::SetConstant< Scalar >::SetConstant ( const Scalar &  alpha) [inline]

Definition at line 147 of file PlayaVectorFunctorsImpl.hpp.


Member Function Documentation

template<class Scalar >
std::string PlayaFunctors::SetConstant< Scalar >::description ( ) const [inline]
template<class Scalar >
Scalar PlayaFunctors::SetConstant< Scalar >::operator() ( const Scalar &  x) const [inline]

Member Data Documentation

template<class Scalar >
Scalar PlayaFunctors::SetConstant< Scalar >::alpha_ [private]

Site Contact