Problems.ackley_go: def of unified-nsga-iii@0.2.2.0 Import: import unified-nsga-iii@0.2.2.0/problems.bend as Problems Lines 462-471 of unified-nsga-iii@0.2.2.0/problems.bend: https://jend.leeeet.dev/read.txt?path=unified-nsga-iii@0.2.2.0/problems.bend&start_line=462&end_line=471 import Base def ackley_go(xs: List<&2, F32>, +s1: F32, +s2: F32) -> Acc2: match xs: case Nil{}: Acc2{s1, s2} case +h <> t: ackley_go( t, F32.add(s1, F32.square(h)), F32.add(s2, F32.cos(F32.mul(F32.mul(2.0, F32.pi()), h))) ) Uses (8): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=F32 https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=F32.add https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=F32.cos https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=F32.mul https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=F32.pi https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=F32.square https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=List https://jend.leeeet.dev/definition.txt?path=unified-nsga-iii@0.2.2.0/problems.bend&name=Acc2