Companion
Functions
Link copied to clipboard
Link copied to clipboard
Create a copy of the parameter using the copyOf
member function.
A matrix that is contains the given "initial" value. The implementation is immutable.
open inline operator override fun <T> invoke(width: Int, height: Int, init: (Int, Int) -> T): Matrix<T>
A simple array-like matrix that contains the values given by the function. The values are assigned at construction.