[an error occurred while processing this directive]
Main Page | Modules | Namespace List | Class Hierarchy | Class List | File List | Namespace Members | Class Members | File Members | Related Pages

lens_calibrate/HermiteSpline.c File Reference

#include <stdlib.h>
#include <math.h>
#include "HermiteSpline.h"

Include dependency graph for HermiteSpline.c:

Include dependency graph

Defines

#define fIEPS   1.e-11

Functions

doublespline_hermite_set (double *c, int ndata, double tdata[], double ydata[], double ypdata[])
 Tabulate coefficients for Hermit Spline Interpolation *.
int spline_hermite_val (int ndata, double tdata[], double c[], double tval, double *sval, double *spval)
 TKS mods Feb 2008 add a return value: 0 failure, 1 success use interpolating interval search; fail if arg out of range don't compute derivative if spval is null declare local vars register.
int spline_tangents_set (int ndata, double tdata[], double ydata[], double ypd[])
int findInterval (int n, double t[], double x)

Define Documentation

#define fIEPS   1.e-11
 


Function Documentation

int findInterval int  n,
double  t[],
double  x
 

double* spline_hermite_set double c,
int  ndata,
double  tdata[],
double  ydata[],
double  ypdata[]
 

Tabulate coefficients for Hermit Spline Interpolation *.

int spline_hermite_val int  ndata,
double  tdata[],
double  c[],
double  tval,
double sval,
double spval
 

TKS mods Feb 2008 add a return value: 0 failure, 1 success use interpolating interval search; fail if arg out of range don't compute derivative if spval is null declare local vars register.

int spline_tangents_set int  ndata,
double  tdata[],
double  ydata[],
double  ypd[]
 


Generated on Mon Sep 20 01:01:32 2010 for Hugintrunk by doxygen 1.3.9.1