def gnf_images

bendtorch@1.3.0.0 · main.bend:1933

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

1933def gnf_images(left: Nat, +off: U32, +ng: Nat, +hw: Nat, +c: U32, +cg: Nat, +nf: F32, +eps: F32, s: R4) -> R4:
1934  match left:
1935    case 0n:
1936      gnf_groups(Nat.sub(ng, 1n), off, 0, hw, c, cg, nf, eps, s)
1937    case 1n+q:
1938      gnf_images(q, (off + (U32.from_nat(hw) * c : U32) : U32), ng, hw, c, cg, nf, eps, gnf_groups(Nat.sub(ng, 1n), off, 0, hw, c, cg, nf, eps, s))

Uses (9)

Used by (1)