zero

fun <R : Nat, C : Nat> zero(rows: R, cols: C): Matrix<R, C>(source)

Creates a zero matrix with dimensions specified by the Nat type parameters.


fun <R : Nat, C : Nat> zero(rows: Int, cols: Int): Matrix<R, C>(source)

Creates a zero matrix with dimensions rows x cols.