Rate This Document
Findability
Accuracy
Completeness
Readability

KIPL_Bsnak

Compute the knot sequence for a "not-a-knot" spline.

Interface Definition

void KIPL_Bsnak(int nData, float *xData, int k, float *xKnot)

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

k

Integer

Order of the spline.

Input

xKnot

Single-precision floating-point array

Array with a length of nData + k, indicating the generated knot sequence.

Output

Dependencies

#include "kipl.h"