type

Math

src class Math : Obj

This mixin contains a set of utilities and functions for various math operations.

methods

matrix

Create a new Matrix with the given number of rows and columns.

Slot Details

matrix

src static Matrix matrix(Int numRows, Int numCols)

Create a new Matrix with the given number of rows and columns. All elements of the matrix are initialized to zero.