CMS 3D CMS Logo

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

#include <Tan.h>

Public Member Functions

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

Public Attributes

T _
 

Detailed Description

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

Definition at line 8 of file Tan.h.

Constructor & Destructor Documentation

template<typename T >
funct::TanStruct< T >::TanStruct ( const T t)
inline

Definition at line 9 of file Tan.h.

9 : _(t) { }

Member Function Documentation

template<typename T >
funct::TanStruct< T >::operator double ( ) const
inline

Definition at line 11 of file Tan.h.

References funct::TanStruct< T >::_, and funct::tan().

11 { return ::tan(_()); }
Tan< T >::type tan(const T &t)
Definition: Tan.h:22
template<typename T >
double funct::TanStruct< T >::operator() ( ) const
inline

Definition at line 10 of file Tan.h.

References funct::TanStruct< T >::_, and funct::tan().

10 { return ::tan(_()); }
Tan< T >::type tan(const T &t)
Definition: Tan.h:22

Member Data Documentation

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