You are here: Start » AVL.NET » AVL.ProfileLinearRegression_Deprecated(AvlNet.Profile, float, float)

AVL.ProfileLinearRegression_Deprecated(AvlNet.Profile, float, float)

Returns coefficients of linear function (in form y = Ax + B) that illustrates the trend of profile. Uses ordinary least squares method.

Namespace:AvlNet
Assembly:AVL.NET.dll

Syntax


public static void ProfileLinearRegression_Deprecated(
	AvlNet.Profile inProfile,
	out float outA,
	out float outB
)

Parameters

inProfile
Type: AvlNet.Profile
Input profile
outA
Type: System.Single
outB
Type: System.Single

Errors

Error type Description
DomainError inProfile is empty in ProfileLinearRegression

See also