CMS 3D CMS Logo

Public Member Functions | Public Attributes

funct::ExpStruct< T > Struct Template Reference

#include <Exp.h>

List of all members.

Public Member Functions

 ExpStruct (const T &t)
double operator() () const

Public Attributes

T _

Detailed Description

template<typename T>
struct funct::ExpStruct< T >

Definition at line 9 of file Exp.h.


Constructor & Destructor Documentation

template<typename T >
funct::ExpStruct< T >::ExpStruct ( const T t) [inline]

Definition at line 10 of file Exp.h.

: _(t) { }

Member Function Documentation

template<typename T >
double funct::ExpStruct< T >::operator() ( ) const [inline]

Definition at line 11 of file Exp.h.

References funct::ExpStruct< T >::_, and funct::exp().

{ return ::exp(_()); }

Member Data Documentation

template<typename T >
T funct::ExpStruct< T >::_

Definition at line 12 of file Exp.h.

Referenced by funct::ExpStruct< T >::operator()().