MeVisLab Toolbox Reference
mlUtilsSystem.h File Reference
#include <type_traits>
#include "mlTypeDefs.h"
#include <ThirdPartyWarningsDisable.h>
#include <cmath>
#include <ThirdPartyWarningsRestore.h>

Go to the source code of this file.

Namespaces

namespace  ml
 Main documentation file for ML users and developers.
 

Macros

"typename" macro for UNIX/WIN32 ISO standard incompatibility problems
Deprecated:
use "typename" directly
#define ML_TYPENAME   typename
 

Functions

mlMin/mlMax Templates in ML namespace
template<typename T >
T ml::mlMin (T a, T b)
 Defines ML specific min template since min template is platform-dependent.
 
template<typename T >
T ml::mlMax (T a, T b)
 Defines ML specific max template since max template is platform-dependent.
 
template<typename T >
T ml::mlAbs (T a)
 Defines ML specific abs template since only type-dependent library functions exists.
 
Overloads of \c cmath functions to eliminate ambiguity on Windows,
long double pow (__int64 i, int value)
 
long double pow (unsigned __int64 i, int value)
 
long double pow (__int64 i, float value)
 
long double pow (unsigned __int64 i, float value)
 
long double pow (__int64 i, double value)
 
long double pow (unsigned __int64 i, double value)
 
long double pow (__int64 i, long double value)
 
long double pow (unsigned __int64 i, long double value)
 
unsigned __int64 abs (unsigned __int64 i)
 
long double fabs (__int64 i)
 
long double fabs (unsigned __int64 i)
 
double pow (float f, double d)
 
double pow (double d, float f)
 
double pow (double d, unsigned int i)
 
long double pow (double d, __int64 i)
 
long double pow (double d, unsigned __int64 i)
 
long double pow (double d, long double ld)
 
long double pow (long double ld, double d)
 
template<typename T >
double atan (T value)
 
template<typename T >
double ceil (T value)
 
template<typename T >
double exp (T value)
 
template<typename T >
double fabs (T value)
 
template<typename T >
double floor (T value)
 
template<typename T >
double log (T value)
 
template<typename T >
double sqrt (T value)
 
template<typename T >
double pow (int i, T value)
 
template<typename T >
double pow (unsigned int i, T value)
 
template<typename T >
long double pow (__int64 i, T value)
 
template<typename T >
long double pow (unsigned __int64 i, T value)
 

Macro Definition Documentation

◆ ML_TYPENAME

#define ML_TYPENAME   typename

Definition at line 153 of file mlUtilsSystem.h.

Function Documentation

◆ abs()

unsigned __int64 abs ( unsigned __int64  i)
inline

Definition at line 118 of file mlUtilsSystem.h.

Referenced by Label::overlaps().

◆ atan()

template<typename T >
double atan ( T  value)
inline

Definition at line 130 of file mlUtilsSystem.h.

References atan().

Referenced by atan().

◆ ceil()

template<typename T >
double ceil ( T  value)
inline

Definition at line 131 of file mlUtilsSystem.h.

References ceil().

Referenced by ceil(), ml::CSOMath::ceilToInt(), and ml::TVector< TVectorBase >::divCeil().

◆ exp()

template<typename T >
double exp ( T  value)
inline

Definition at line 132 of file mlUtilsSystem.h.

References exp().

Referenced by ml::TQuaternion< DT >::exp(), and exp().

◆ fabs() [1/3]

◆ fabs() [2/3]

template<typename T >
double fabs ( T  value)
inline

Definition at line 133 of file mlUtilsSystem.h.

References fabs().

◆ fabs() [3/3]

long double fabs ( unsigned __int64  i)
inline

Definition at line 120 of file mlUtilsSystem.h.

◆ floor()

◆ log()

template<typename T >
double log ( T  value)
inline

Definition at line 135 of file mlUtilsSystem.h.

References log().

Referenced by log(), and ml::TKernel< KDATATYPE >::manipulateKernelElements().

◆ pow() [1/19]

long double pow ( __int64  i,
double  value 
)
inline

Definition at line 113 of file mlUtilsSystem.h.

References pow().

◆ pow() [2/19]

long double pow ( __int64  i,
float  value 
)
inline

Definition at line 111 of file mlUtilsSystem.h.

References pow().

◆ pow() [3/19]

long double pow ( __int64  i,
int  value 
)
inline

◆ pow() [4/19]

long double pow ( __int64  i,
long double  value 
)
inline

Definition at line 115 of file mlUtilsSystem.h.

References pow().

◆ pow() [5/19]

template<typename T >
long double pow ( __int64  i,
T  value 
)
inline

Definition at line 139 of file mlUtilsSystem.h.

References pow().

◆ pow() [6/19]

long double pow ( double  d,
__int64  i 
)
inline

Definition at line 125 of file mlUtilsSystem.h.

References pow().

◆ pow() [7/19]

double pow ( double  d,
float  f 
)
inline

Definition at line 123 of file mlUtilsSystem.h.

References pow().

◆ pow() [8/19]

long double pow ( double  d,
long double  ld 
)
inline

Definition at line 127 of file mlUtilsSystem.h.

References pow().

◆ pow() [9/19]

long double pow ( double  d,
unsigned __int64  i 
)
inline

Definition at line 126 of file mlUtilsSystem.h.

References pow().

◆ pow() [10/19]

double pow ( double  d,
unsigned int  i 
)
inline

Definition at line 124 of file mlUtilsSystem.h.

References pow().

◆ pow() [11/19]

double pow ( float  f,
double  d 
)
inline

Definition at line 122 of file mlUtilsSystem.h.

References pow().

◆ pow() [12/19]

template<typename T >
double pow ( int  i,
T  value 
)
inline

Definition at line 137 of file mlUtilsSystem.h.

References pow().

◆ pow() [13/19]

long double pow ( long double  ld,
double  d 
)
inline

Definition at line 128 of file mlUtilsSystem.h.

References pow().

◆ pow() [14/19]

long double pow ( unsigned __int64  i,
double  value 
)
inline

Definition at line 114 of file mlUtilsSystem.h.

References pow().

◆ pow() [15/19]

long double pow ( unsigned __int64  i,
float  value 
)
inline

Definition at line 112 of file mlUtilsSystem.h.

References pow().

◆ pow() [16/19]

long double pow ( unsigned __int64  i,
int  value 
)
inline

Definition at line 110 of file mlUtilsSystem.h.

References pow().

◆ pow() [17/19]

long double pow ( unsigned __int64  i,
long double  value 
)
inline

Definition at line 116 of file mlUtilsSystem.h.

References pow().

◆ pow() [18/19]

template<typename T >
long double pow ( unsigned __int64  i,
T  value 
)
inline

Definition at line 140 of file mlUtilsSystem.h.

References pow().

◆ pow() [19/19]

template<typename T >
double pow ( unsigned int  i,
T  value 
)
inline

Definition at line 138 of file mlUtilsSystem.h.

References pow().

◆ sqrt()