Fpga, Accelerated Computing, High Level Synthesis, Hpc.
h_2 = dt * 0.5; let offset: ubit<32> = 1; let current_y = ys[0]; --- decor "rk_loop:" for (let i=1..16384) { if (i < N) { let idx = i + offset; let t = dt * (idx as float); let k1: state = st_scale(h, f(current_y, t)); let k2_y: state = st_add(current_y, st_scale(0.5, k1)); let k2_x: float = t +