Polynomial |
public class PolynomialRegressionAsInterpolation : IInterpolationFunction, IInterpolationCurve
The PolynomialRegressionAsInterpolation type exposes the following members.
| Name | Description | |
|---|---|---|
| PolynomialRegressionAsInterpolation | Initializes a new instance of the PolynomialRegressionAsInterpolation class. The default regression order is 2. | |
| PolynomialRegressionAsInterpolation(Int32) | Initializes a new instance of the PolynomialRegressionAsInterpolation class using the specified regression order. |
| Name | Description | |
|---|---|---|
| Fit | Gets the fit. This property is only valid after the Interpolate(IReadOnlyListDouble, IReadOnlyListDouble) function has been called. Note that the x-values of the fit were transformed, using XMean and XScale in the manner of xt = (x - XMean) * XScale; see TransformXToInternalRepresentation(Double). | |
| RegressionOrder | Gets the polynomial regression order (degree) used for fitting. | |
| XMean | Gets the mean of the set of x-values used for the fit. | |
| XScale | Gets the inverse of the half span of the set of x-values used for the fit. |
| Name | Description | |
|---|---|---|
| Equals | Determines whether the specified object is equal to the current object. (Inherited from Object) | |
| Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object) | |
| GetHashCode | Serves as the default hash function. (Inherited from Object) | |
| GetType | Gets the Type of the current instance. (Inherited from Object) | |
| GetXOfU | Returns a x value in dependence of a parameter u. | |
| GetYOfU | Returns a y value in dependence of a parameter u. | |
| GetYOfX | Returns the y value in dependence of a given x value. | |
| Interpolate | Sets the interpolation data by providing values for x and y. Both vectors must be of equal length. | |
| MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object) | |
| ToString | Returns a string that represents the current object. (Inherited from Object) | |
| TransformXToInternalRepresentation | Transforms the x-value to the internal x-value, that can be used in conjunction with the fit parameters to get the y-value. |