def Mat.from_tree

bend-tensors@0.0.0.2 · bend_tensors.bend:1547

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

1547# a Mat<rows, cols> around a tree, masked: what the IO products below
1548# answer, and what their padding law is about
1549def Mat.from_tree(+rows: Nat, +cols: Nat, t: MatT(VecT.depth(rows), VecT.depth(cols))) -> Mat<rows, cols>:
1550  MatS{MatT.mask(VecT.depth(rows), VecT.depth(cols), t, 0n, 0n, rows, cols)}

Uses (5)

Used by (0)

No other definition uses this definition.