v2026.5.3
All Bundles
Bundle Machine learning library with linear regression, logistic regression, k-means clustering, and matrix operations. Designed for tabular data; supports training, prediction, and model evaluation. Compile with -lib ml.

FloatMatrixRef

Float matrix reference with convenience methods

Operations

Get #

Get float value

method : public : Get() ~ Float[,]

Return

TypeDescription
Floatfloat value

New # constructor

Default constructor

New()

New # constructor

Copy constructor

New(value:Float[,])

Parameters

NameTypeDescription
valueFloatboolean value

Set #

Set boolean value

method : public : Set(value:Float[,]) ~ Nil

Parameters

NameTypeDescription
valueFloatboolean value

ToBool #

Parsers a boolean value

method : public : ToBool() ~ Bool

Return

TypeDescription
Boolboolean value

ToFloat #

Parsers a decimal value

method : public : ToFloat() ~ Float

Return

TypeDescription
Floatdecimal value

ToInt #

Parsers an integer value

method : public : ToInt() ~ Int

Return

TypeDescription
Intinteger value

ToString #

Formats the matrix into a string

method : public : ToString() ~ String

Return

TypeDescription
Stringstring representation