Function repmat

Source
pub fn repmat(
    matrix: &mut Array,
    nx: INT,
    ny: INT,
) -> Result<Array, Box<EvalAltResult>>
Expand description

Repeats copies of a matrix

let matrix = eye(3);
let combined = repmat(matrix, 2, 2);
assert_eq(size(combined), [6, 6]);