CMS 3D CMS Logo

List of all members | Public Member Functions | Public Attributes
funct::ExpStruct< T > Struct Template Reference

#include <Exp.h>

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.

10 : _(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().

11 { return ::exp(_()); }
Exp< T >::type exp(const T &t)
Definition: Exp.h:22

Member Data Documentation

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

Definition at line 12 of file Exp.h.

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