def Mat.mask
import bend-tensors@0.0.0.2/bend_tensors.bend as BendTensorsimport Base
1533def Mat.mask(+rows: Nat, +cols: Nat, m: Mat<rows, cols>) -> Mat<rows, cols>:
1534 MatS{t} = m
1535 MatS{MatT.mask(VecT.depth(rows), VecT.depth(cols), t, 0n, 0n, rows, cols)}