Functions | Variables
MathToolbox.cpp File Reference
#include "MathToolbox.hpp"
#include <limits>
Include dependency graph for MathToolbox.cpp:

Go to the source code of this file.

Functions

double hypot (double x, double y, double z)
 
double normalizeRadians (double radians)
 

Variables

const double NaN_double = std::numeric_limits<double>::quiet_NaN()
 Not-a-Number in double precision. More...
 

Function Documentation

◆ hypot()

double hypot ( double  x,
double  y,
double  z 
)

Berechne die Laenge der Hypothenuse

Definition at line 21 of file MathToolbox.cpp.

◆ normalizeRadians()

double normalizeRadians ( double  radians)

Normalizes an angle given in radians by adding or subtracting an integer multiple of 2*pi so that the resulting angle is in the half-open interval [-pi,+pi). The current implementation takes O(1) time, i.e. the time of execution has a fixed upper boundary independend from the angle.

Definition at line 34 of file MathToolbox.cpp.

Variable Documentation

◆ NaN_double

const double NaN_double = std::numeric_limits<double>::quiet_NaN()

Not-a-Number in double precision.

Definition at line 13 of file MathToolbox.cpp.



libsick_ldmrs
Author(s): SICK AG , Martin Günther , Jochen Sprickerhof
autogenerated on Wed Oct 26 2022 02:11:57