KIPL_Bsder
Calculate the derivative of the basis spline fitting function at a given position x.
Interface Definition
float KIPL_Bsder(int ideriv, float xi, int k, float *xKnot, int ncoef, float *coef)
Parameters
Parameter |
Type |
Description |
Input/Output |
|---|---|---|---|
ideriv |
Integer |
Order of the derivative to be calculated. |
Input |
xi |
Single-precision floating-point |
Position where the derivative needs to be calculated. |
Input |
ncoef |
Integer |
Length of the coef array, which is equal to nData. |
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. |
Input |
Return Value |
Single-precision floating-point |
Derivative of the basis spline fitting function at a given position x. |
Output |
Dependencies
#include "kipl.h"