BendMlTensor.dot.go: def of bend-ml-tensor@0.1.2.0 Import: import bend-ml-tensor@0.1.2.0/main.bend as BendMlTensor Lines 50-55 of bend-ml-tensor@0.1.2.0/main.bend: https://jend.leeeet.dev/read.txt?path=bend-ml-tensor@0.1.2.0/main.bend&start_line=50&end_line=55 import Base def dot.go(xs: List<&2, F32>, ys: List<&2, F32>, acc: F32) -> F32: match xs ys: case Con{+h, t} Con{+g, u}: dot.go(t, u, (acc + (h * g : F32) : F32)) case _ _: acc Uses (4): 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=List