Functions
ApproxMVBB::AngleFunctions Namespace Reference

Functions

PREC mapTo2Pi (PREC x)
ApproxMVBB_DEFINE_MATRIX_TYPES PREC mapToPi (PREC x)
PREC relativeAngle2Pi (PREC angle, PREC angle2)
PREC relativeAnglePi (PREC angle, PREC angle2)

Function Documentation

PREC ApproxMVBB::AngleFunctions::mapTo2Pi ( PREC  x) [inline]

Maps angle to the range [0,2*pi] Sawtooth function as f = x - floor(x/a)*a , a = 2*pi

Definition at line 31 of file AngleFunctions.hpp.

Maps angle to the range [-pi,pi] Sawtooth function as g = f(x+a/2) - a/2 , f = x - floor(x/a)*a , a = 2*pi

Definition at line 24 of file AngleFunctions.hpp.

PREC ApproxMVBB::AngleFunctions::relativeAngle2Pi ( PREC  angle,
PREC  angle2 
) [inline]

Relative angle measured from angle

Definition at line 40 of file AngleFunctions.hpp.

PREC ApproxMVBB::AngleFunctions::relativeAnglePi ( PREC  angle,
PREC  angle2 
) [inline]

Relative angle measured from angle

Definition at line 36 of file AngleFunctions.hpp.



asr_approx_mvbb
Author(s): Gassner Nikolai
autogenerated on Sat Jun 8 2019 20:21:50