我要评分
获取效率
正确性
完整性
易理解

KIPL_Csint

Calculate the coefficients of cubic spline interpolation.

Interface Definition

void KIPL_Csint(int nData, float *xData, float *fData, 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

coef

Single-precision floating-point array

Array with a length of 4*nData, indicating the generated coefficient sequence.

Output

Dependencies

#include "kipl.h"