NumeRe v1.1.4
NumeRe: Framework für Numerische Rechnungen
mu::MathImpl< T > Struct Template Reference

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

#include <muParserTemplateMagic.h>

Collaboration diagram for mu::MathImpl< T >:

Static Public Member Functions

static T Sin (const T &v)
 
static T Cos (const T &v)
 
static T Tan (const T &v)
 
static T ASin (const T &v)
 
static T ACos (const T &v)
 
static T ATan (const T &v)
 
static T ATan2 (const T &v1, const T &v2)
 
static T Sinh (const T &v)
 
static T Cosh (const T &v)
 
static T Tanh (const T &v)
 
static T Sqrt (const T &v)
 
static T Log (const T &v)
 
static T Log2 (const T &v)
 
static T Log10 (const T &v)
 
static T ASinh (const T &v)
 
static T ACosh (const T &v)
 
static T ATanh (const T &v)
 
static T Exp (const T &v)
 
static T Rint (const T &v)
 
static T Sign (const T &v)
 
static T Pow (const T &v1, const 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 87 of file muParserTemplateMagic.h.

Member Function Documentation

◆ ACos()

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

Definition at line 112 of file muParserTemplateMagic.h.

Referenced by mu::Parser::ACos().

◆ ACosh()

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

Definition at line 180 of file muParserTemplateMagic.h.

References mu::MathImpl< T >::Log(), and mu::MathImpl< T >::Sqrt().

Referenced by mu::Parser::ACosh().

Here is the call graph for this function:

◆ ASin()

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

Definition at line 106 of file muParserTemplateMagic.h.

Referenced by mu::Parser::ASin().

◆ ASinh()

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

Definition at line 174 of file muParserTemplateMagic.h.

References mu::MathImpl< T >::Log(), and mu::MathImpl< T >::Sqrt().

Referenced by mu::Parser::ASinh().

Here is the call graph for this function:

◆ ATan()

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

Definition at line 118 of file muParserTemplateMagic.h.

References mu::isnan().

Referenced by mu::Parser::ATan().

Here is the call graph for this function:

◆ ATan2()

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

Definition at line 126 of file muParserTemplateMagic.h.

Referenced by mu::Parser::ATan2().

◆ ATanh()

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

Definition at line 186 of file muParserTemplateMagic.h.

References mu::MathImpl< T >::Log().

Referenced by mu::Parser::ATanh().

Here is the call graph for this function:

◆ Cos()

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

Definition at line 95 of file muParserTemplateMagic.h.

Referenced by mu::Parser::Cos().

◆ Cosh()

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

Definition at line 138 of file muParserTemplateMagic.h.

Referenced by mu::Parser::Cosh().

◆ Exp()

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

Definition at line 192 of file muParserTemplateMagic.h.

Referenced by mu::Parser::Exp().

◆ Log()

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

◆ Log10()

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

Definition at line 168 of file muParserTemplateMagic.h.

Referenced by mu::Parser::Log10().

◆ Log2()

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

Definition at line 162 of file muParserTemplateMagic.h.

Referenced by mu::Parser::Log2().

◆ Pow()

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

Definition at line 210 of file muParserTemplateMagic.h.

References intPower().

Referenced by mu::ParserByteCode::ConstantFolding(), mu::ParserBase::ParseCmdCodeBulk(), and mu::ParserBase::ParseCmdCodeBulkParallel().

Here is the call graph for this function:

◆ Rint()

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

Definition at line 198 of file muParserTemplateMagic.h.

References date::floor().

Here is the call graph for this function:

◆ Sign()

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

Definition at line 204 of file muParserTemplateMagic.h.

◆ Sin()

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

Definition at line 89 of file muParserTemplateMagic.h.

Referenced by mu::Parser::Sin().

◆ Sinh()

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

Definition at line 132 of file muParserTemplateMagic.h.

Referenced by mu::Parser::Sinh().

◆ Sqrt()

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

◆ Tan()

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

Definition at line 101 of file muParserTemplateMagic.h.

Referenced by mu::Parser::Tan().

◆ Tanh()

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

Definition at line 144 of file muParserTemplateMagic.h.

Referenced by mu::Parser::Tanh().


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