KIPL_Cs1gd
Calculate the derivative of a cubic spline fitting function.
Interface Definition
void KIPL_Cs1gd(int ideriv, int nVec, float *xVec, int initv, float *xData, float *coef, float *derValue)
Parameters
Parameter |
Type |
Description |
Input/Output |
|---|---|---|---|
ideriv |
Integer |
Order of the derivative to be calculated. |
Input |
nVec |
Integer |
Length of the array xVec. |
Input |
xVec |
Single-precision floating-point array |
Array with a length of nVec, containing the points at which the cubic spline is to be calculated. |
Input |
initv |
Integer |
Number of cubic polynomials obtained through fitting, which is equal to nData – 1. |
Input |
xData |
Single-precision floating-point array |
Array with a length of initv + 1, indicating the horizontal coordinates of data points. |
Input |
coef |
Single-precision floating-point array |
Array with a length of 4*(initv + 1), indicating the generated coefficient sequence. |
Input |
derValue |
Single-precision floating-point array |
Array with a length of nVec, containing the ideriv values of the cubic spline at each point within xVec. |
Output |
Dependencies
#include "kipl.h"