v2025.6.2
All Bundles

LinearResult

Result of liner equations

Operations

GetCoefficients

Gets the equation coefficients

method : public : GetCoefficients() ~ Float[]

Return

TypeDescription
Floatequation coefficients

GetRSquared

Gets r-squared

method : public : GetRSquared() ~ Float

Return

TypeDescription
Floatr-squared

New

Constructor

New(coeffs:Float[], r_sqrd:Float)

Parameters

NameTypeDescription
coeffsFloatcoefficient matrix
r_sqrdFloatr-squared value

ToString

Formats the result into a string

method : public : ToString() ~ String

Return

TypeDescription
Stringstring representation