Click or drag to resize

PolynomialRegressionAsInterpolation Class

Provides an IInterpolationFunction implementation that evaluates a polynomial regression fitted via SVD.
Inheritance Hierarchy
SystemObject
  Altaxo.Calc.InterpolationPolynomialRegressionAsInterpolation

Namespace: Altaxo.Calc.Interpolation
Assembly: AltaxoCore (in AltaxoCore.dll) Version: 4.8.3448.0 (4.8.3448.0)
Syntax
C#
public class PolynomialRegressionAsInterpolation : IInterpolationFunction, 
	IInterpolationCurve

The PolynomialRegressionAsInterpolation type exposes the following members.

Constructors
 NameDescription
Public methodPolynomialRegressionAsInterpolation Initializes a new instance of the PolynomialRegressionAsInterpolation class. The default regression order is 2.
Public methodPolynomialRegressionAsInterpolation(Int32) Initializes a new instance of the PolynomialRegressionAsInterpolation class using the specified regression order.
Top
Properties
 NameDescription
Public propertyFit 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).
Public propertyRegressionOrder Gets the polynomial regression order (degree) used for fitting.
Public propertyXMean Gets the mean of the set of x-values used for the fit.
Public propertyXScale Gets the inverse of the half span of the set of x-values used for the fit.
Top
Methods
 NameDescription
Public methodEqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
Protected methodFinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object)
Public methodGetHashCodeServes as the default hash function.
(Inherited from Object)
Public methodGetTypeGets the Type of the current instance.
(Inherited from Object)
Public methodGetXOfU Returns a x value in dependence of a parameter u.
Public methodGetYOfU Returns a y value in dependence of a parameter u.
Public methodGetYOfX Returns the y value in dependence of a given x value.
Public methodInterpolate Sets the interpolation data by providing values for x and y. Both vectors must be of equal length.
Protected methodMemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
Public methodToStringReturns a string that represents the current object.
(Inherited from Object)
Public methodTransformXToInternalRepresentation Transforms the x-value to the internal x-value, that can be used in conjunction with the fit parameters to get the y-value.
Top
See Also