def Mat.sum_rows

bend-tensors@0.0.0.2 · bend_tensors.bend:1503

import bend-tensors@0.0.0.2/bend_tensors.bend as BendTensors
import Base

1503def Mat.sum_rows(+rows: Nat, +cols: Nat, m: Mat<rows, cols>) -> Vec<rows>:
1504  MatS{t} = m
1505  VecS{VecT.mask(VecT.depth(rows), MatT.sum_rows(VecT.depth(rows), VecT.depth(cols), t), 0n, rows)}

Uses (6)

Used by (1)