CMS 3D CMS Logo

List of all members | Public Member Functions | Public Attributes
funct::CosStruct< T > Struct Template Reference

#include <Cos.h>

Public Member Functions

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

Public Attributes

T _
 

Detailed Description

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

Definition at line 9 of file Cos.h.

Constructor & Destructor Documentation

◆ CosStruct()

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

Definition at line 10 of file Cos.h.

10 : _(t) {}

Member Function Documentation

◆ operator()()

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

Definition at line 11 of file Cos.h.

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

References funct::CosStruct< T >::_, and funct::cos().

Member Data Documentation

◆ _

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

Definition at line 12 of file Cos.h.

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

funct::CosStruct::_
T _
Definition: Cos.h:12
funct::cos
Cos< T >::type cos(const T &t)
Definition: Cos.h:22
submitPVValidationJobs.t
string t
Definition: submitPVValidationJobs.py:644