Function ndims_by_reference

Source
pub fn ndims_by_reference(matrix: &mut Array) -> INT
Expand description

Return the number of dimensions in matrix, passed by reference.

let matrix = ones(4, 6);
let n = ndims(matrix);
assert_eq(n, 2);