All Bundles

LinearResult

Result of liner equations

Operations

New

Constructor

New(coeffs:Float[], r_sqrd:Float)
Parameters
NameTypeDescription
coeffsFloat[]coefficient matrix
r_sqrdFloatr-squared value

GetCoefficients

Gets the equation coefficients

method : public : GetCoefficients() ~ Float[]
Return
TypeDescription
Float[]equation coefficients

GetRSquared

Gets r-squared

method : public : GetRSquared() ~ Float
Return
TypeDescription
Floatr-squared

ToString

Formats the result into a string

method : public : ToString() ~ String
Return
TypeDescription
Stringstring representation