Companion

object Companion

The companion object contains factory functions to create new instances with initialization.

Functions

Link copied to clipboard
inline operator fun invoke(maxWidth: Int, maxHeight: Int, noinline validator: (Int, Int) -> Boolean, init: (Int, Int) -> Int): ArrayMutableSparseIntMatrix

Create a new instance with given maxWidth, maxHeight, validator and initialized according to init.