KIPL_Bsint
Calculate the coefficients of basis spline interpolation.
Interface Definition
void KIPL_Bsint(int nData, float *xData, float *fData, int k, float *xKnot, float *coef)
Parameters
Parameter |
Type |
Description |
Input/Output |
|---|---|---|---|
nData |
Integer |
Number of elements in the xData array. |
Input |
xData |
Single-precision floating-point array |
Array with a length of nData, indicating the horizontal coordinates of data points. |
Input |
fData |
Single-precision floating-point array |
Array with a length of nData, indicating the vertical coordinates of data points. |
Input |
k |
Integer |
Order of the spline. |
Input |
xKnot |
Single-precision floating-point array |
Array with a length of nData + k, indicating the knot sequence generated by KIPL_Bsnak. |
Input |
coef |
Single-precision floating-point array |
Array with a length of nData, indicating the generated coefficient sequence. |
Output |
Dependencies
#include "kipl.h"