CMS 3D CMS Logo

All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Modules Pages
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

◆ TanStruct()

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

Definition at line 9 of file Tan.h.

Member Function Documentation

◆ operator double()

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

◆ operator()()

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 >::_