def Mat.add
import bend-tensors@0.0.0.2/bend_tensors.bend as BendTensorsimport Base
1454def Mat.add(+rows: Nat, +cols: Nat, m: Mat<rows, cols>, n: Mat<rows, cols>) -> Mat<rows, cols>:
1455 MatS{x} = m
1456 MatS{y} = n
1457 MatS{MatT.add(VecT.depth(rows), VecT.depth(cols), x, y)}
Uses (4)
Used by (0)
No other definition uses this definition.