Loading [MathJax]/extensions/TeX/AMSsymbols.js
LAL 7.7.0.1-5e288d3
All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
TriggerInterpolateTest.c File Reference

Prototypes

static double cpart (double complex z, int i)
 
static double to_phase_angle (double arg)
 
static double dsinc (double t)
 
static double d2sinc (double t)
 
static void fdf_lanczos (double fdf[3], double t, double a)
 
static void print_gsl_error (const char *reason, const char *file, int line, __attribute__((unused)) int gsl_errno)
 
static void ran_amp_poly_quadratic (gsl_rng *rng, double poly[3], double *t_max, double *amp_max, unsigned int window)
 
static void ran_arg_poly_linear (gsl_rng *rng, double poly[2])
 
int main (__attribute__((unused)) int argc, __attribute__((unused)) char **argv)
 

Go to the source code of this file.

Macros

#define TEST_WINDOW_SIZE_TOO_SMALL(FUNC, MIN_WINDOW)
 

Macro Definition Documentation

◆ TEST_WINDOW_SIZE_TOO_SMALL

#define TEST_WINDOW_SIZE_TOO_SMALL (   FUNC,
  MIN_WINDOW 
)
Value:
{ \
gsl_error_handler_t *old_handler = gsl_set_error_handler_off(); \
for (unsigned int window = 0; window < MIN_WINDOW; window ++) \
{ \
double complex y[2 * window + 1]; \
result = FUNC(&tmax, &ymax, &y[window], window); \
gsl_test(result != GSL_EINVAL, "%s window=%u returns GSL_EINVAL", #FUNC, window); \
} \
gsl_set_error_handler(old_handler); \
}
#define FUNC
Definition: PrintVector.c:15

Definition at line 95 of file TriggerInterpolateTest.c.

Function Documentation

◆ cpart()

static double cpart ( double complex  z,
int  i 
)
static

Definition at line 36 of file TriggerInterpolateTest.c.

◆ to_phase_angle()

static double to_phase_angle ( double  arg)
static

Definition at line 42 of file TriggerInterpolateTest.c.

◆ dsinc()

static double dsinc ( double  t)
static

Definition at line 54 of file TriggerInterpolateTest.c.

◆ d2sinc()

static double d2sinc ( double  t)
static

Definition at line 61 of file TriggerInterpolateTest.c.

◆ fdf_lanczos()

static void fdf_lanczos ( double  fdf[3],
double  t,
double  a 
)
static

Definition at line 68 of file TriggerInterpolateTest.c.

◆ print_gsl_error()

static void print_gsl_error ( const char *  reason,
const char *  file,
int  line,
__attribute__((unused)) int  gsl_errno 
)
static

Definition at line 85 of file TriggerInterpolateTest.c.

◆ ran_amp_poly_quadratic()

static void ran_amp_poly_quadratic ( gsl_rng *  rng,
double  poly[3],
double *  t_max,
double *  amp_max,
unsigned int  window 
)
static

Definition at line 112 of file TriggerInterpolateTest.c.

◆ ran_arg_poly_linear()

static void ran_arg_poly_linear ( gsl_rng *  rng,
double  poly[2] 
)
static

Definition at line 133 of file TriggerInterpolateTest.c.

◆ main()

int main ( __attribute__((unused)) int  argc,
__attribute__((unused)) char **  argv 
)

Definition at line 140 of file TriggerInterpolateTest.c.