Problems.zdt3_f: def of unified-nsga-iii@0.2.2.0 Import: import unified-nsga-iii@0.2.2.0/problems.bend as Problems Lines 205-211 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=205&end_line=211 import Base import unified-nsga-iii@0.2.2.0/util.bend as Util # C# Zdt3Problem: g * (1 - sqrt(r) - r * sin(10 π x0)), r = x0/g. def zdt3_f(+x: List<&2, F32>) -> List<&2, F32>: +x0 = Util.get_f32(x, 0n) +g = zdt_g(x) +r = F32.div(x0, g) +s = F32.sin(F32.mul(F32.mul(10.0, F32.pi()), x0)) x0 <> [F32.mul(g, F32.sub(F32.sub(1.0, F32.sqrt(r)), F32.mul(r, s)))] Uses (10): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=F32 https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=F32.div 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.sin https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=F32.sqrt https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=F32.sub 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=zdt_g https://jend.leeeet.dev/definition.txt?path=unified-nsga-iii@0.2.2.0/util.bend&name=get_f32