STK++ 0.9.13
STK::CosOp< Type > Struct Template Reference

Template functor which compute the cosine of a number. More...

#include <STK_Functors.h>

Public Types

enum  { NbParam_ = 1 }
 
typedef Type result_type
 
typedef hidden::RemoveConst< Type >::Type param1_type
 

Public Member Functions

result_type operator() (param1_type const &a) const
 

Detailed Description

template<typename Type>
struct STK::CosOp< Type >

Template functor which compute the cosine of a number.

Definition at line 875 of file STK_Functors.h.

Member Typedef Documentation

◆ param1_type

template<typename Type >
typedef hidden::RemoveConst<Type>::Type STK::CosOp< Type >::param1_type

Definition at line 879 of file STK_Functors.h.

◆ result_type

template<typename Type >
typedef Type STK::CosOp< Type >::result_type

Definition at line 878 of file STK_Functors.h.

Member Enumeration Documentation

◆ anonymous enum

template<typename Type >
anonymous enum
Enumerator
NbParam_ 

Definition at line 877 of file STK_Functors.h.

877{ NbParam_ = 1 };

Member Function Documentation

◆ operator()()

template<typename Type >
result_type STK::CosOp< Type >::operator() ( param1_type const a) const
inline

Definition at line 881 of file STK_Functors.h.

881{ return std::cos(a);}

The documentation for this struct was generated from the following file: