def rmsb_rows

bendtorch@1.3.0.0 · main.bend:1665

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

1665def rmsb_rows(left: Nat, +i: U32, +d: Nat, +df: F32, +eps: F32, s: R5) -> R5:
1666  match left:
1667    case 0n:
1668      rmsb_row(d, (i * U32.from_nat(d) : U32), df, eps, s)
1669    case 1n+p:
1670      rmsb_rows(p, (i + 1 : U32), d, df, eps, rmsb_row(d, (i * U32.from_nat(d) : U32), df, eps, s))

Uses (8)

Used by (1)