OpcUaCanOpen
CANopen OPC-UA server
mu::MathImpl< T > Struct Template Reference

A template class for providing wrappers for essential math functions. More...

#include <muParserTemplateMagic.h>

Static Public Member Functions

static T Sin (T v)
 
static T Cos (T v)
 
static T Tan (T v)
 
static T ASin (T v)
 
static T ACos (T v)
 
static T ATan (T v)
 
static T ATan2 (T v1, T v2)
 
static T Sinh (T v)
 
static T Cosh (T v)
 
static T Tanh (T v)
 
static T ASinh (T v)
 
static T ACosh (T v)
 
static T ATanh (T v)
 
static T Log (T v)
 
static T Log2 (T v)
 
static T Log10 (T v)
 
static T Exp (T v)
 
static T Abs (T v)
 
static T Sqrt (T v)
 
static T Rint (T v)
 
static T Sign (T v)
 
static T Pow (T v1, T v2)
 

Detailed Description

template<typename T>
struct mu::MathImpl< T >

A template class for providing wrappers for essential math functions.

This template is spezialized for several types in order to provide a unified interface for parser internal math function calls regardless of the data type.

Definition at line 86 of file muParserTemplateMagic.h.

Member Function Documentation

◆ Abs()

template<typename T >
static T mu::MathImpl< T >::Abs ( v)
inlinestatic

Definition at line 105 of file muParserTemplateMagic.h.

◆ ACos()

template<typename T >
static T mu::MathImpl< T >::ACos ( v)
inlinestatic

Definition at line 92 of file muParserTemplateMagic.h.

◆ ACosh()

template<typename T >
static T mu::MathImpl< T >::ACosh ( v)
inlinestatic

Definition at line 99 of file muParserTemplateMagic.h.

◆ ASin()

template<typename T >
static T mu::MathImpl< T >::ASin ( v)
inlinestatic

Definition at line 91 of file muParserTemplateMagic.h.

◆ ASinh()

template<typename T >
static T mu::MathImpl< T >::ASinh ( v)
inlinestatic

Definition at line 98 of file muParserTemplateMagic.h.

◆ ATan()

template<typename T >
static T mu::MathImpl< T >::ATan ( v)
inlinestatic

Definition at line 93 of file muParserTemplateMagic.h.

◆ ATan2()

template<typename T >
static T mu::MathImpl< T >::ATan2 ( v1,
v2 
)
inlinestatic

Definition at line 94 of file muParserTemplateMagic.h.

◆ ATanh()

template<typename T >
static T mu::MathImpl< T >::ATanh ( v)
inlinestatic

Definition at line 100 of file muParserTemplateMagic.h.

◆ Cos()

template<typename T >
static T mu::MathImpl< T >::Cos ( v)
inlinestatic

Definition at line 89 of file muParserTemplateMagic.h.

◆ Cosh()

template<typename T >
static T mu::MathImpl< T >::Cosh ( v)
inlinestatic

Definition at line 96 of file muParserTemplateMagic.h.

◆ Exp()

template<typename T >
static T mu::MathImpl< T >::Exp ( v)
inlinestatic

Definition at line 104 of file muParserTemplateMagic.h.

◆ Log()

template<typename T >
static T mu::MathImpl< T >::Log ( v)
inlinestatic

Definition at line 101 of file muParserTemplateMagic.h.

◆ Log10()

template<typename T >
static T mu::MathImpl< T >::Log10 ( v)
inlinestatic

Definition at line 103 of file muParserTemplateMagic.h.

◆ Log2()

template<typename T >
static T mu::MathImpl< T >::Log2 ( v)
inlinestatic

Definition at line 102 of file muParserTemplateMagic.h.

◆ Pow()

template<typename T >
static T mu::MathImpl< T >::Pow ( v1,
v2 
)
inlinestatic

Definition at line 109 of file muParserTemplateMagic.h.

◆ Rint()

template<typename T >
static T mu::MathImpl< T >::Rint ( v)
inlinestatic

Definition at line 107 of file muParserTemplateMagic.h.

◆ Sign()

template<typename T >
static T mu::MathImpl< T >::Sign ( v)
inlinestatic

Definition at line 108 of file muParserTemplateMagic.h.

◆ Sin()

template<typename T >
static T mu::MathImpl< T >::Sin ( v)
inlinestatic

Definition at line 88 of file muParserTemplateMagic.h.

◆ Sinh()

template<typename T >
static T mu::MathImpl< T >::Sinh ( v)
inlinestatic

Definition at line 95 of file muParserTemplateMagic.h.

◆ Sqrt()

template<typename T >
static T mu::MathImpl< T >::Sqrt ( v)
inlinestatic

Definition at line 106 of file muParserTemplateMagic.h.

◆ Tan()

template<typename T >
static T mu::MathImpl< T >::Tan ( v)
inlinestatic

Definition at line 90 of file muParserTemplateMagic.h.

◆ Tanh()

template<typename T >
static T mu::MathImpl< T >::Tanh ( v)
inlinestatic

Definition at line 97 of file muParserTemplateMagic.h.


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