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

◆ TanStruct()

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

Definition at line 9 of file Tan.h.

9 : _(t) {}

Member Function Documentation

◆ operator double()

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

Definition at line 11 of file Tan.h.

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

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

◆ operator()()

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

Definition at line 10 of file Tan.h.

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

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

Member Data Documentation

◆ _

template<typename T >
T funct::TanStruct< T >::_
funct::TanStruct::_
T _
Definition: Tan.h:12
OrderedSet.t
t
Definition: OrderedSet.py:90
funct::tan
Tan< T >::type tan(const T &t)
Definition: Tan.h:22