def lf_gdg
import bendtorch-gpu@1.3.0.0/main.bend as BendtorchGpuimport Base
392# x1 = x, x2 = dy, x3 = 1/rms; the gradient of the gain, in place: a leaf a column
393def lf_gdg(+t: U32, +l: U32, +e: EDG, x1: Array<F32>, x2: Array<F32>, x3: Array<F32>, x4: Array<F32>, ga: Array<F32>) -> Array<F32>:
394 match e:
395 case EDG{+d, +n}: gdg_if(U32.is_lt(t, d), t, n, d, x1, x2, x3, ga)