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

Template functor which compute the sine 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::SinOp< Type >

Template functor which compute the sine of a number.

Definition at line 886 of file STK_Functors.h.

Member Typedef Documentation

◆ param1_type

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

Definition at line 890 of file STK_Functors.h.

◆ result_type

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

Definition at line 889 of file STK_Functors.h.

Member Enumeration Documentation

◆ anonymous enum

template<typename Type >
anonymous enum
Enumerator
NbParam_ 

Definition at line 888 of file STK_Functors.h.

888{ NbParam_ = 1 };

Member Function Documentation

◆ operator()()

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

Definition at line 892 of file STK_Functors.h.

892{ return std::sin(a);}

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