pub fn zeros_double_input(nx: INT, ny: INT) -> Array
Expand description
Return a matrix of zeros. Arguments indicate the number of rows and columns in the matrix.
let matrix = zeros(3, 3);
assert_eq(matrix, [[0.0, 0.0, 0.0],
[0.0, 0.0, 0.0],
[0.0, 0.0, 0.0]]);