Click or drag to resize

QuickQuadraticRegression Class

Class for doing a quick and dirty regression of order 2 only returning the parameters A0, A1 and A2 as regression parameters. Can not handle too big or too small input values.
Inheritance Hierarchy
SystemObject
  Altaxo.Calc.RegressionQuickQuadraticRegression

Namespace: Altaxo.Calc.Regression
Assembly: AltaxoCore (in AltaxoCore.dll) Version: 4.8.3179.0 (4.8.3179.0)
Syntax
C#
public class QuickQuadraticRegression

The QuickQuadraticRegression type exposes the following members.

Constructors
 NameDescription
Public methodQuickQuadraticRegressionInitializes a new instance of the QuickQuadraticRegression class
Top
Methods
 NameDescription
Public methodAdd Adds a data point to the regression.
Public methodAddRange Adds data points to the statistics.
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 methodGetA0 Gets the intercept value of the regression. Returns NaN if not enough data points entered.
Public methodGetA1 Gets the slope value of the regression. Returns NaN if not enough data points entered.
Public methodGetA2 Gets the quadratic parameter of the regression. Returns NaN if not enough data points entered.
Public methodGetDeterminant Returns the determinant of regression. If zero, not enough data points have been entered.
Public methodGetHashCodeServes as the default hash function.
(Inherited from Object)
Public methodGetTypeGets the Type of the current instance.
(Inherited from Object)
Public methodGetYOfX Gets the y value for a given x value. Note that in every call of this function the polynomial coefficients a0, a2, and a1 are calculated again. For repeated calls, better use GetYOfXFunction, but note that this function represents the state of the regression at the time of this call.
Public methodGetYOfXFunction Returns a function to calculate y in dependence of x. Please note note that the returned function represents the state of the regression at the time of the call, i.e. subsequent additions of data does not change the function.
Protected methodMemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
Public methodToStringReturns a string that represents the current object.
(Inherited from Object)
Top
See Also