def span_n

unified-nsga-iii@0.2.2.0 · bounds.bend:61

import unified-nsga-iii@0.2.2.0/bounds.bend as Bounds
import Base

61# nv copies of [low, high]. Sphere / Ackley / Rosenbrock and any uniform range.
62def span_n(nv: Nat, nm: Nat, +low: F32, +high: F32) -> Box:
63  MkBox{nm, List.replicate(Interval, nv, MkInterval{low, high})}

Uses (5)

Used by (3)