CMS 3D CMS Logo

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

◆ SinStruct()

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

Definition at line 10 of file Sin.h.

10 : _(t) {}

Member Function Documentation

◆ operator()()

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

Definition at line 11 of file Sin.h.

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

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

Member Data Documentation

◆ _

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

Definition at line 12 of file Sin.h.

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

funct::sin
Sin< T >::type sin(const T &t)
Definition: Sin.h:22
OrderedSet.t
t
Definition: OrderedSet.py:90
funct::SinStruct::_
T _
Definition: Sin.h:12