CMS 3D CMS Logo

Public Member Functions | Public Attributes

funct::CosStruct< T > Struct Template Reference

#include <Cos.h>

List of all members.

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

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

Definition at line 10 of file Cos.h.

: _(t) { }

Member Function Documentation

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

Definition at line 11 of file Cos.h.

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

{ return ::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()().