Matrix

Static methods

staticcreate<T>(x:Int, y:Int, v:T):Matrix<T>

staticcut(this:Array<Array<T>>, x:Int, y:Int):Matrix<T>

staticinlineget(this:Array<Array<T>>, p:Point<Int>):T

statichor(this:Array<Array<T>>, d:Int):Matrix<T>

staticindexOf(this:Array<Array<T>>, e:T):Null<Point<Int>>

staticiterator(this:Array<Array<T>>):Iterator<T>

staticinlinekeyValueIterator(this:Array<Array<T>>):KeyValueIterator<Point<UInt>, T>

staticmap<B>(this:Array<Array<T>>, f:T ‑> B):Matrix<B>

Creates a new List by applying function f to all matrix elements. The order of elements is preserved.

staticparse(text:String):Matrix<Int>

Parse integer matrix from text 0 > value > 9

staticinlineset(this:Array<Array<T>>, p:Point<Int>, value:T):T

staticsetAll(this:Array<Array<T>>, value:T):Void