test
CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
List of all members | Public Member Functions | Public Attributes
funct::SinStruct< T > Struct Template Reference

#include <Sin.h>

Public Member Functions

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

Public Attributes

T _
 

Detailed Description

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

Definition at line 9 of file Sin.h.

Constructor & Destructor Documentation

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

Definition at line 10 of file Sin.h.

10 : _(t) { }

Member Function Documentation

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

Definition at line 11 of file Sin.h.

References funct::SinStruct< T >::_, and funct::sin().

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

Member Data Documentation

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

Definition at line 12 of file Sin.h.

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