def list.exp_shift

bend-ml-llama@0.2.1.0 · main.bend:334

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

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

Uses (4)

Used by (1)