Interpolation Type
This type contains functionalities to perform various interpolation methods for two dimensional data. It summarizes functions contained within the interpolation module.
Constructors
| Constructor | Description |
|
|
Static members
| Static member | Description |
Full Usage:
Interpolation.getFirstDerivative coef
Parameters:
InterpolationCoefficients
-
Interpolation coefficients
Returns: float -> float
Function that takes an x value and returns the corresponding slope.
|
X values that don't lie within the range of the input x values, may fail or are predicted using the nearest interpolation line!
Example
val xData: obj
val yData: obj
val coefficients: obj
val coefLinSpl: obj
val func: (float -> obj)
|
Full Usage:
Interpolation.getIntegralBetween (coef, x1, x2)
Parameters:
InterpolationCoefficients
-
Interpolation coefficients
x1 : float
-
interval start
x2 : float
-
interval end
Returns: float
area under the curve between x1 and x2
|
|
Full Usage:
Interpolation.getSecondDerivative coef
Parameters:
InterpolationCoefficients
-
Interpolation coefficients
Returns: float -> float
Function that takes an x value and returns the corresponding curvature.
|
X values that don't lie within the range of the input x values, may fail or are predicted using the nearest interpolation line!
Example
val xData: obj
val yData: obj
val coefficients: obj
val coef: obj
val func: (float -> obj)
|
Full Usage:
Interpolation.interpolate (xValues, yValues, method)
Parameters:
float array
-
Input x values. Must not contain duplicates.
yValues : float array
-
Input y values
method : InterpolationMethod
-
Interpolation Method
Returns: InterpolationCoefficients
Coefficients for interpolation function.
|
Example
val xData: obj
val yData: obj
|
Full Usage:
Interpolation.predict coef
Parameters:
InterpolationCoefficients
-
Interpolation coefficients
Returns: float -> float
Function that takes an x value and returns the corresponding y value.
|
X values that don't lie within the range of the input x values, may fail or are predicted using the nearest interpolation line!
Example
val xData: obj
val yData: obj
val coefficients: obj
val coefLinSpl: obj
val func: (float -> obj)
|
FSharp.Stats