MatrixLib

MatrixLib contains a number of 2-dimensional matrix classes and types that work mostly analogous to the Array type in the standard library. Of particular interest is that it supports sparse matrix types that allow for certain coordinates not to have a value.

A difference with the Array type is that the matrix types are split into read interfaces and mutable interfaces.

Packages

Link copied to clipboard

The overall package for the main Matrix, MutableMatrix, SparseMatrix and MutableSparseMatrix classes as well as pseudo-constructor factory functions declared on the type companions.

Link copied to clipboard

A package that contains specialized classes for Boolean types. It works analogous to the main matrix package (but specialized for boolean values).

Link copied to clipboard

A package with additional functionality including a Coordinate class for matrix coordinates. In adition there are specialized matrix types for single values or function based values.

Link copied to clipboard

A package that contains specialized classes for Int types. It works analogous to the main matrix package (but specialized for integer values).