def cols_in

bendtorch@1.3.0.0 · main.bend:2518

import bendtorch@1.3.0.0/main.bend as Bendtorch
import Base

2518# dst's columns oc.. (c of them, ow wide) of rows 0..t-1 from src (t x c): src dropped
2519def cols_in(+t: Nat, +c: Nat, +ow: U32, +oc: U32, src: Array<F32>, dst: Array<F32>) -> Array<F32>:
2520  a2_b(pmul_copy(Nat.sub(Nat.mul(t, c), 1n), 0, U32.from_nat(c), ow, oc, dst, Array.get(F32, src, 0)))

Uses (10)

Used by (2)