Record type that contains the x-knots, intersects (C0) and slopes (C1) of each interval.
Equivalent to interval-wise simple linear regression between any neighbouring pair of data.
Record Field | Description |
Full Usage:
C0
Field type: float[]
|
|
Full Usage:
C1
Field type: float[]
|
|
Full Usage:
XValues
Field type: float[]
|
|
Instance member | Description |
Full Usage:
this.Differentiate
Returns: LinearSplineCoef
Coefficients of the fst derivative of the linear spline
|
|
Full Usage:
this.Predict
Returns: float -> float
Y value corresponding to the given x value.
|
X values that don't not lie within the range of the input x values, are predicted using the nearest interpolation line!
Example
|
Full Usage:
this.getDerivative x
Parameters:
float
-
x value of which the corresponding y value should be predicted
Returns: float
predicted slope of given linear spline at X=x
|
|
Static member | Description |
Full Usage:
LinearSplineCoef.Create(xValues) (c0) (c1)
Parameters:
float[]
c0 : float[]
c1 : float[]
Returns: LinearSplineCoef
|
|