Macros | Functions
math_utils.h File Reference
#include <cmath>
#include <limits>
Include dependency graph for math_utils.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define CONSTEXPR
 

Functions

template<typename T >
CONSTEXPR bool are_equal (const T &a, const T &b, const T &eps)
 
CONSTEXPR bool are_equal (double a, double b)
 
bool are_ordered (double a, double b, double c)
 
bool are_strictly_ordered (double a, double b, double c)
 
double bound_value (double left, double v, double right)
 
constexpr double deg2rad (double angle_deg)
 
template<unsigned N>
CONSTEXPR int ge_pow (int i)
 
CONSTEXPR bool is_multiple_of (double value, double factor)
 
CONSTEXPR bool less (double a, double b)
 
bool less_or_equal (double a, double b)
 
constexpr double rad2deg (double angle_rad)
 

Macro Definition Documentation

#define CONSTEXPR

Definition at line 9 of file math_utils.h.

Function Documentation

template<typename T >
CONSTEXPR bool are_equal ( const T &  a,
const T &  b,
const T &  eps 
)
inline

Definition at line 17 of file math_utils.h.

CONSTEXPR bool are_equal ( double  a,
double  b 
)
inline

Definition at line 22 of file math_utils.h.

bool are_ordered ( double  a,
double  b,
double  c 
)
inline

Definition at line 52 of file math_utils.h.

bool are_strictly_ordered ( double  a,
double  b,
double  c 
)
inline

Definition at line 48 of file math_utils.h.

double bound_value ( double  left,
double  v,
double  right 
)
inline

Definition at line 40 of file math_utils.h.

constexpr double deg2rad ( double  angle_deg)
inline

Definition at line 56 of file math_utils.h.

template<unsigned N>
CONSTEXPR int ge_pow ( int  i)

Definition at line 65 of file math_utils.h.

CONSTEXPR bool is_multiple_of ( double  value,
double  factor 
)
inline

Definition at line 34 of file math_utils.h.

CONSTEXPR bool less ( double  a,
double  b 
)
inline

Definition at line 29 of file math_utils.h.

bool less_or_equal ( double  a,
double  b 
)
inline

Definition at line 44 of file math_utils.h.

constexpr double rad2deg ( double  angle_rad)
inline

Definition at line 60 of file math_utils.h.



slam_constructor
Author(s): JetBrains Research, OSLL team
autogenerated on Mon Jun 10 2019 15:08:25