Beast  Music Synthesizer and Composer
0.11.1+10.g2da35

Macros  
#define  _ISOC99_SOURCE 
#define  SQRT_3 
Functions  
GxkSpline *  gxk_spline_new_natural (guint n_points, const GxkSplinePoint *points) 
GxkSpline *  gxk_spline_copy (GxkSpline *spline) 
GxkSpline *  gxk_spline_new (guint n_points, const GxkSplinePoint *points, double dy_start, double dy_end) 
double  gxk_spline_eval (const GxkSpline *spline, double x, double *yd1) 
double  gxk_spline_y (const GxkSpline *spline, double x) 
double  gxk_spline_findx (const GxkSpline *spline, double y) 
void  gxk_spline_free (GxkSpline *spline) 
void  gxk_spline_dump (GxkSpline *spline) 
GxkSpline* gxk_spline_copy  (  GxkSpline *  spline  ) 
spline  correctly setup GxkSpline 
void gxk_spline_dump  (  GxkSpline *  spline  ) 
spline  correctly setup GxkSpline 
Produce a debugging printout of spline on stderr.
spline  correctly setup GxkSpline 
x  x position for evaluation 
dy1  location to store first derivative of y 
Evaluate the spline polynomial at position x and return the interpolated value y, as well as its first derivative.
Referenced by gxk_spline_y().
spline  correctly setup GxkSpline 
y  interpolated y value 
Find an x position for which spline evaluation yields y. Due to round off, calling gxk_spline_y() on the result may produce a number equal to y only within a certain epsilon. If multiple x positions will yield y upon evaluation, any of them may be returned. If no x position can yield y, NAN is returned. Evaluation of this function may take about 10 times as long as calling its counterpart gxk_spline_y(), some times much longer.
void gxk_spline_free  (  GxkSpline *  spline  ) 
spline  correctly setup GxkSpline 
Free a spline structure.
GxkSpline* gxk_spline_new  (  guint  n_points, 
const GxkSplinePoint *  points,  
double  dy_start,  
double  dy_end  
) 
n_points  number of fix points 
points  fix points 
dy_start  first derivatives at point[0] 
dy_end  first derivatives at point[n_points  1] 
Referenced by gxk_spline_new_natural().
GxkSpline* gxk_spline_new_natural  (  guint  n_points, 
const GxkSplinePoint *  points  
) 
n_points  number of fix points 
points  fix points 
spline  correctly setup GxkSpline 
x  x position for evaluation 
Evaluate the spline polynomial at position x and return the interpolated value y.
Referenced by gxk_spline_dump().