def Mat.clone
import bend-blas-lapack@0.0.0.1/mat.bend as Matimport Base
101# a Mat is affine: two copies, to be opened by matching in a def of its own
102def Mat.clone(+rows: Nat, +cols: Nat, m: Mat<rows, cols>) -> Mat<rows, cols> & Mat<rows, cols>:
103 MatA{a} = m
104 Mat.clone.fin(rows, cols, Array.clone(F32, a))
Uses (6)
Used by (0)
No other definition uses this definition.