TMatrix.buildlinearspline Method
Builds the table of coefficients for piecewise linear spline.
Namespace: SMath.Math.NumericAssembly: SMath.Math.Numeric (in SMath.Math.Numeric.dll) Version: 1.73.9126.0
public void buildlinearspline(
double[] x,
double[] y,
int n,
out double[] c
)
Public Sub buildlinearspline (
x As Double(),
y As Double(),
n As Integer,
<OutAttribute> ByRef c As Double()
)
public:
void buildlinearspline(
array<double>^ x,
array<double>^ y,
int n,
[OutAttribute] array<double>^% c
)
member buildlinearspline :
x : float[] *
y : float[] *
n : int *
c : float[] byref -> unit
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.