zero

fun zero(rows: Int, cols: Int): Matrix

Creates a zero matrix with the given dimensions.


fun zero(size: Int): Matrix

Creates a zero matrix with dimensions size by size.