Click or drag to resize

QuickLinearRegression Methods

The QuickLinearRegression type exposes the following members.

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 linear regression. Returns NaN if not enough data points entered.
Public methodGetA1 Gets the slope value of the linear 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 methodGetX0 Gets the intercept of the linear regression with the X-axis. Returns NaN if not enough data points entered.
Public methodGetYOfX Gets the y value for a given x value. Note that in every call of this function the coefficients a0 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