Companion
Functions
Factory unction to create an instance based upon the matrix of SparseValues as initializers. This is not an invoke operator due to overloading issues.
Create a new mutable matrix initialized from the source.
Create a MutableIntMatrix initialized with the default value of the Int type (0
)
Factory function that creates and initializes a (readonly) MutableSparseIntMatrix. maxWidth and maxHeight are used for the underlying array dimensions. This variant uses a sealed return type to determine whether a value is sparse or not.
Create a SparseIntMatrix initialized with the given value
Create a new SparseMatrix with the given size and intialization function. It also requires a validate function
Create a new SparseMatrix subclass instance with the given size and intialization function. It also requires a validate function
Create a MutableSparseIntMatrix initialized with the given value