TMatrix.buildlinearspline Method

Builds the table of coefficients for piecewise linear spline.

Definition

Namespace: SMath.Math.Numeric
Assembly: SMath.Math.Numeric (in SMath.Math.Numeric.dll) Version: 1.73.9126.0
C#
public void buildlinearspline(
	double[] x,
	double[] y,
	int n,
	out double[] c
)

Parameters

x  Double[]
Abscisses, array with numbering of elements [0..N-1].
y  Double[]
Function values, array with element numbering [0..N-1].
n  Int32
Number of points, N>=2.
c  Double[]
Table of spline coefficients for use in the SplineInterpolation subroutine.

See Also