Weighted Linear regression with statistics

Namespace:  Hyleos.Mathematic.Regression
Assembly:  Hyleos.Mathematic (in Hyleos.Mathematic.dll) Version: 1.0.1.1 (1.0.1.1)

Syntax

C#
public bool Regress(
	double[] points,
	double[,] terms,
	double[] weights
)
Visual Basic (Declaration)
Public Function Regress ( _
	points As Double(), _
	terms As Double(,), _
	weights As Double() _
) As Boolean
Visual C++
public:
bool Regress(
	array<double>^ points, 
	array<double,2>^ terms, 
	array<double>^ weights
)

Parameters

points
Type: array< System..::.Double >[]()[]
Data points
terms
Type: array< System..::.Double ,2>[,](,)[,]
Linear terms
weights
Type: array< System..::.Double >[]()[]
Weights

Return Value

True on success, False otherwise

See Also