---
title: KIPL_Csint
description: 计算三次样条插值的系数。
url: "https://www.hikunpeng.com/document/detail/zh/kunpenghpcs/hpckit/devg/kunpengaccel_kml_0587.html"
---

# KIPL_Csint

计算三次样条插值的系数。

#### 接口定义

void KIPL_Csint(int nData, float *xData, float *fData, float *coef)


#### 参数

| 参数名 | 类型 | 描述 | 输入/输出 |
| --- | --- | --- | --- |
| nData | 整型数 | 表示xData数组元素个数。 | 输入 |
| xData | 单精度浮点数组 | 长度为nData的数组，表示数据点的横坐标。 | 输入 |
| fData | 单精度浮点数组 | 长度为nData的数组，表示数据点的纵坐标。 | 输入 |
| coef | 单精度浮点数组 | 长度为4\*nData的数组，表示生成的系数序列。 | 输出 |


#### 依赖

#include "kipl.h"
