KIPL_Bsint
计算basis样条插值的系数。
接口定义
void KIPL_Bsint(int nData, float *xData, float *fData, int k, float *xKnot, float *coef)
参数
参数名 |
类型 |
描述 |
输入/输出 |
|---|---|---|---|
nData |
整型数 |
表示xData数组元素个数。 |
输入 |
xData |
单精度浮点数组 |
长度为nData的数组,表示数据点的横坐标。 |
输入 |
fData |
单精度浮点数组 |
长度为nData的数组,表示数据点的纵坐标。 |
输入 |
k |
整型数 |
表示样条的阶数。 |
输入 |
xKnot |
单精度浮点数组 |
长度为nData+k的数组,表示KIPL_Bsnak生成的节点序列。 |
输入 |
coef |
单精度浮点数组 |
长度为nData的数组,表示生成的系数序列。 |
输出 |
依赖
#include "kipl.h"
父主题: basis样条函数