TMatrix.buildcubicspline Method
Builds the table of coefficients for cubic spline.
Namespace: SMath.Math.NumericAssembly: SMath.Math.Numeric (in SMath.Math.Numeric.dll) Version: 1.73.9126.0
public void buildcubicspline(
double[] x,
double[] y,
int n,
int boundltype,
double boundl,
int boundrtype,
double boundr,
out double[] c
)
Public Sub buildcubicspline (
x As Double(),
y As Double(),
n As Integer,
boundltype As Integer,
boundl As Double,
boundrtype As Integer,
boundr As Double,
<OutAttribute> ByRef c As Double()
)
public:
void buildcubicspline(
array<double>^ x,
array<double>^ y,
int n,
int boundltype,
double boundl,
int boundrtype,
double boundr,
[OutAttribute] array<double>^% c
)
member buildcubicspline :
x : float[] *
y : float[] *
n : int *
boundltype : int *
boundl : float *
boundrtype : int *
boundr : float *
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.
- boundltype Int32
-
Boundary condition type (left border).
- boundl Double
-
The value of the first (or second, depending on BoundType) derivative of the spline on the left border.
- boundrtype Int32
-
Boundary condition type (right border).
- boundr Double
-
The value of the first (or second, depending on BoundType) derivative of the spline on the right border.
- c Double[]
-
Table of spline coefficients for use in the SplineInterpolation subroutine.