PolynomialMutation.deltaq.lo: def of unified-nsga-iii@0.2.2.0 Import: import unified-nsga-iii@0.2.2.0/polynomial_mutation.bend as PolynomialMutation Lines 40-46 of unified-nsga-iii@0.2.2.0/polynomial_mutation.bend: https://jend.leeeet.dev/read.txt?path=unified-nsga-iii@0.2.2.0/polynomial_mutation.bend&start_line=40&end_line=46 import Base def deltaq.lo(+eta: F32, +mut_pow: F32, +delta1: F32, +rand: F32) -> F32: +xy = F32.sub(1.0, delta1) +val = F32.add( F32.mul(2.0, rand), F32.mul(F32.sub(1.0, F32.mul(2.0, rand)), F32.pow(xy, F32.add(eta, 1.0))) ) F32.sub(F32.pow(val, mut_pow), 1.0) Uses (5): 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.mul https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=F32.pow https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=F32.sub