def ackley_f

unified-nsga-iii@0.2.2.0 · problems.bend:492

import unified-nsga-iii@0.2.2.0/problems.bend as Problems
import Base
import unified-nsga-iii@0.2.2.0/util.bend as Util

492# C# AckleyProblem. n=0 stays total (denominator 1) instead of dividing by zero.
493def ackley_f(+x: List<&2, F32>) -> List<&2, F32>:
494  ackley_from(Util.list_len(F32, x), ackley_go(x, 0.0, 0.0))

Uses (5)

Used by (1)