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

Prototypes

static int clip_int (int t, int min, int max)
 
static double clip_double (double t, double min, double max)
 
static void cubic_interp_init_coefficients (double *a, const double *z, const double *z1)
 
static double cubic_eval (const double *a, double t)
 
static void cubic_interp_index (double f, double t0, double length, double *t, double *i)
 
cubic_interpcubic_interp_init (const double *data, int n, double tmin, double dt)
 
void cubic_interp_free (cubic_interp *interp)
 
double cubic_interp_eval (const cubic_interp *interp, double t)
 
bicubic_interpbicubic_interp_init (const double *data, int ns, int nt, double smin, double tmin, double ds, double dt)
 
void bicubic_interp_free (bicubic_interp *interp)
 
double bicubic_interp_eval (const bicubic_interp *interp, double s, double t)
 

Go to the source code of this file.

Function Documentation

◆ clip_int()

static int clip_int ( int  t,
int  min,
int  max 
)
static

Definition at line 27 of file cubic_interp.c.

◆ clip_double()

static double clip_double ( double  t,
double  min,
double  max 
)
static

Definition at line 38 of file cubic_interp.c.

◆ cubic_interp_init_coefficients()

static void cubic_interp_init_coefficients ( double *  a,
const double *  z,
const double *  z1 
)
static

Definition at line 53 of file cubic_interp.c.

◆ cubic_eval()

static double cubic_eval ( const double *  a,
double  t 
)
static

Definition at line 82 of file cubic_interp.c.

◆ cubic_interp_index()

static void cubic_interp_index ( double  f,
double  t0,
double  length,
double *  t,
double *  i 
)
static

Definition at line 88 of file cubic_interp.c.

◆ cubic_interp_init()

cubic_interp * cubic_interp_init ( const double *  data,
int  n,
double  tmin,
double  dt 
)

Definition at line 95 of file cubic_interp.c.

◆ cubic_interp_free()

void cubic_interp_free ( cubic_interp interp)

Definition at line 120 of file cubic_interp.c.

◆ cubic_interp_eval()

double cubic_interp_eval ( const cubic_interp interp,
double  t 
)

Definition at line 126 of file cubic_interp.c.

◆ bicubic_interp_init()

bicubic_interp * bicubic_interp_init ( const double *  data,
int  ns,
int  nt,
double  smin,
double  tmin,
double  ds,
double  dt 
)

Definition at line 136 of file cubic_interp.c.

◆ bicubic_interp_free()

void bicubic_interp_free ( bicubic_interp interp)

Definition at line 187 of file cubic_interp.c.

◆ bicubic_interp_eval()

double bicubic_interp_eval ( const bicubic_interp interp,
double  s,
double  t 
)

Definition at line 193 of file cubic_interp.c.