Definition of domain clipping tools
Marcel Sondaar
Public Domain
clampradd.c | Definition of domain clipping tools |
Functions | |
_PDCLIB_doclamppd | recursively shift x into the domain [0,clamp] |
_PDCLIB_doclampnd | recursively shift x into the domain [-clamp,0] |
_PDCLIB_clampradd | ensure x is in the range [-pi,pi], otherwise shift the domain into position |
static double _PDCLIB_doclamppd( double x, double clamp )
recursively shift x into the domain [0,clamp]
recursively shift x into the domain [0,clamp]
static double _PDCLIB_doclamppd( double x, double clamp )
recursively shift x into the domain [-clamp,0]
static double _PDCLIB_doclampnd( double x, double clamp )
ensure x is in the range [-pi,pi], otherwise shift the domain into position
double _PDCLIB_clampradd( double x )