CMS 3D CMS Logo

Public Member Functions | Public Attributes

funct::TanStruct< T > Struct Template Reference

#include <Tan.h>

List of all members.

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.

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

{ return ::tan(_()); }
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().

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

Member Data Documentation

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