def list.exp_shift

bend-ml-llama@0.2.0.0 · main.bend:333

import bend-ml-llama@0.2.0.0/main.bend as BendMlLlama
import Base

333# exp(x - m) for each x
334def list.exp_shift(xs: List<&2, F32>, +m: F32) -> List<&2, F32>:
335  match xs:
336    case Nil{}:
337      Nil{}
338    case Con{+h, t}:
339      F32.exp((h - m : F32)) <> list.exp_shift(t, m)

Uses (4)

Used by (1)