KIPL_Cssmh
计算平滑的三次样条系数逼近噪声数据。
接口定义
void KIPL_Cssmh(int nData, float *xData, float *fData, float *weight, float smpar, float *coef)
参数
参数名 |
类型 |
描述 |
输入/输出 |
|---|---|---|---|
nData |
整型数 |
表示xData数组元素个数。 |
输入 |
xData |
单精度浮点数组 |
长度为nData的数组,表示数据点的横坐标。 |
输入 |
fData |
单精度浮点数组 |
长度为nData的数组,表示数据点的纵坐标。 |
输入 |
weight |
单精度浮点数组 |
包含fData标准偏差估计值的长度为nData的数组 |
输入 |
smpar |
单精度浮点数 |
控制平滑度的非负数。 |
输入 |
coef |
单精度浮点数组 |
长度为4*nData的数组,表示生成的系数序列。 |
输出 |
依赖
#include "kipl.h"
父主题: 三次样条函数