Dtype.Sum.f32: def of bendtorch@1.3.0.0 Import: import bendtorch@1.3.0.0/dtype.bend as Dtype Lines 593-595 of bendtorch@1.3.0.0/dtype.bend: https://jend.leeeet.dev/read.txt?path=bendtorch@1.3.0.0/dtype.bend&start_line=593&end_line=595 import Base # the sums of the first n numbers of a (the array comes back) def Sum.f32(+n: Nat, a: Array) -> AF: sum_f(n, 0, 0.0, Array.get(F32, a, 0)) Uses (6): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Array https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Array.get https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=F32 https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Nat https://jend.leeeet.dev/definition.txt?path=bendtorch@1.3.0.0/dtype.bend&name=AF https://jend.leeeet.dev/definition.txt?path=bendtorch@1.3.0.0/dtype.bend&name=sum_f