def Mat.sum_cols
import bend-tensors@0.0.0.2/bend_tensors.bend as BendTensorsimport Base
1507def Mat.sum_cols(+rows: Nat, +cols: Nat, m: Mat<rows, cols>) -> Vec<cols>:
1508 MatS{t} = m
1509 VecS{VecT.mask(VecT.depth(cols), MatT.sum_cols(VecT.depth(rows), VecT.depth(cols), t), 0n, cols)}
Uses (6)
Used by (0)
No other definition uses this definition.