contains polynomial coefficients sorted from intercept to highest order factor
Record Field | Description |
|
Instance member | Description |
Full Usage:
this.Differentiate
Parameters:
int
-
Level of differentiation: 1 = fst derivative, 2 = snd derivative, ... .
Returns: PolynomialCoef
Coefficients of the derivative polynomial
|
Determines the coefficients of the derivative of the given polynomial. Level 1 = fst derivative, level 2 = snd derivative, ... . The resulting polynomial is `level` degrees lower than the original polynomial.
Example
|
Full Usage:
this.GetDerivative
Parameters:
int
-
depth of derivative: 1 = slope, 2 = curvature, ...
x : float
-
x value of which the corresponding y value should be predicted
Returns: float
predicted derivative with given polynomial coefficients at X=x
|
calculates derivative values at X=x with given polynomial coefficients. Level 1 = fst derivative; Level2 = snd derivative ...
Example
|
Full Usage:
this.GetIntegralBetween
Parameters:
float
-
start x value
x2 : float
-
end x value
Returns: float
integral of the polynomial in the range defined by x1 and x2
|
Example
|
|
Determines the coefficients of the integral of the given polynomial. The resulting polynomial is one degree higher than the original polynomial.
Example
|
Full Usage:
this.Predict
Returns: float -> float
predicted y value with given polynomial coefficients at X=x
|
Example
|
Static member | Description |
|
|