Files | |
| file | psMathUtils.h |
| Standard Mathematical Functions. | |
| file | psSpline.h |
| Standard Mathematical Functions. | |
| file | psSpline.h |
| Standard Mathematical Functions. | |
Data Structures | |
| struct | psSpline1D |
| One-Dimensional Spline. More... | |
Defines | |
| #define | PS_ASSERT_SPLINE(NAME, RVAL) |
| #define | PS_ASSERT_SPLINE_NON_NULL(NAME, RVAL) |
Functions | |
| psS32 | p_psVectorBinDisect (const psVector *bins, const psScalar *x) |
| Performs a binary disection on a monotonically non-decreasing vector. | |
| psScalar * | p_psVectorInterpolate (psScalar *out, const psVector *domain, const psVector *range, psS32 order, const psScalar *x) |
| Interpolates a series of data points for evaluation at a specific coordinate. | |
| bool | p_psNormalizeVectorRange (psVector *myData, psF64 outLow, psF64 outHigh) |
| psSpline1D * | psSpline1DAlloc () |
| 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. | |
| psSpline1D * | psVectorFitSpline1D (const psVector *x, const psVector *y) |
| Derive a one-dimensional spline fit. | |
| bool | psMemCheckSpline1D (psPtr ptr) |
| Checks the type of a particular pointer. | |
|
|
Value: if (false == psMemCheckSpline1D(NAME)) { \ psError(PS_ERR_BAD_PARAMETER_NULL, true, \ "Unallowable operation: argument %s is not a psSpline1D struct.\n",\ #NAME); \ return(RVAL); \ } \ Definition at line 100 of file psSpline.h. |
|
|
Value: if ((NAME) == NULL) { \ psError(PS_ERR_BAD_PARAMETER_NULL, true, \ "Unallowable operation: psSpline1D %s is NULL.", \ #NAME); \ return(RVAL); \ } \ Definition at line 108 of file psSpline.h. |
|
||||||||||||||||
|
|
|
||||||||||||
|
Performs a binary disection on a monotonically non-decreasing vector. Searches through an array of data for a specified value.
|
|
||||||||||||||||||||||||
|
Interpolates a series of data points for evaluation at a specific coordinate. Uses a Lagrange interpolation method.
|
|
|
Checks the type of a particular pointer. Uses the appropriate deallocation function in psMemBlock to check the ptr datatype.
|
|
|
Allocates a psSpline1D structure. Allocator for psSpline1D.
|
|
||||||||||||
|
Evaluates 1-D spline polynomials at a specific coordinate.
|
|
||||||||||||
|
Evaluates 1-D spline polynomials at a set of specific coordinates.
|
|
||||||||||||
|
Derive a one-dimensional spline fit. Given a psSpline1D data structure and a set of x,y vectors, this routine generates the linear splines which satisfy those data points.
|
1.4.4