def Mat.transpose
import bend-tensors@0.0.0.2/bend_tensors.bend as BendTensorsimport Base
1477def Mat.transpose(+rows: Nat, +cols: Nat, m: Mat<rows, cols>) -> Mat<cols, rows>:
1478 MatS{t} = m
1479 MatS{MatT.mask(VecT.depth(cols), VecT.depth(rows), MatT.transpose(VecT.depth(rows), VecT.depth(cols), t), 0n, 0n, cols, rows)}
Uses (5)
Used by (0)
No other definition uses this definition.