Util.vec_scale: def of unified-nsga-iii@0.2.2.0 Import: import unified-nsga-iii@0.2.2.0/util.bend as Util Lines 167-172 of unified-nsga-iii@0.2.2.0/util.bend: https://jend.leeeet.dev/read.txt?path=unified-nsga-iii@0.2.2.0/util.bend&start_line=167&end_line=172 import Base def vec_scale(+s: F32, v: List<&2, F32>) -> List<&2, F32>: match v: case Nil{}: Nil{} case x <> xs: F32.mul(s, x) <> vec_scale(s, xs) Uses (3): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=F32 https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=F32.mul https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=List