This file will hold the prototypes for procedures which allocate, free, and evaluate splines.
Definition in file psSpline.h.
#include <stdio.h>
#include <stdbool.h>
#include <float.h>
#include <math.h>
#include "psVector.h"
#include "psScalar.h"
#include "psPolynomial.h"
Include dependency graph for psSpline.h:

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.
Functions | |
| psSpline1D * | psSpline1DAlloc (int n, int order, float min, float max) |
| Allocates a psSpline1D structure. | |
| psSpline1D * | psSpline1DAllocGeneric (const psVector *bounds, int order) |
| Allocates a psSpline1D structure. | |
| float | psSpline1DEval (const psSpline1D *spline, float x) |
| Evaluates 1-D spline polynomials at a specific coordinate. | |
| psVector * | psSpline1DEvalVector (const psSpline1D *spline, const psVector *x) |
| Evaluates 1-D spline polynomials at a set of specific coordinates. | |
| psS32 | p_psVectorBinDisect (psVector *bins, psScalar *x) |
| Performs a binary disection on a given vector. | |
| psScalar * | p_psVectorInterpolate (psVector *domain, psVector *range, int order, psScalar *x) |
| Interpolates a series of data points for evaluation at a specific coordinate. | |
| bool | psMemCheckSpline1D (psPtr ptr) |
| Checks the type of a particular pointer. | |
| psSpline1D * | psVectorFitSpline1D (psSpline1D *mySpline, const psVector *x, const psVector *y, const psVector *yErr) |
| Derive a one-dimensional spline fit. | |
| psSpline1D * | psVectorFitSpline1DNEW (const psVector *x, const psVector *y, int nKnots) |
1.4.2