LALPulsar  6.1.0.1-fe68b98
SinCosLUT.h File Reference

Prototypes

void XLALSinCosLUTInit (void)
 
int XLALSinCosLUT (REAL4 *sinx, REAL4 *cosx, REAL8 x)
 Calculate sin(x) and cos(x) to roughly 1e-7 precision using a lookup-table and Taylor-expansion. More...
 
int XLALSinCos2PiLUT (REAL4 *sin2pix, REAL4 *cos2pix, REAL8 x)
 Calculate sin(2*pi*x) and cos(2*pi*x) to roughly 1e-7 precision using a lookup-table and Taylor-expansion. More...
 
int XLALSinCos2PiLUTtrimmed (REAL4 *s, REAL4 *c, REAL8 x)
 A function that uses the lookup tables to evaluate sin and cos values of 2*Pi*x, but relies on x being already trimmed to the interval [0..2) More...
 

Go to the source code of this file.