Tensor.reduce_counted: def of stelliferous@0.0.2.0 Import: import stelliferous@0.0.2.0/tensor.bend as Tensor Lines 503-505 of stelliferous@0.0.2.0/tensor.bend: https://jend.leeeet.dev/read.txt?path=stelliferous@0.0.2.0/tensor.bend&start_line=503&end_line=505 import Base def reduce_counted(~Element: Data,~operation: Element -> Element -> Element,name: String,pair: Tensor & U32,+initial: Element) -> Tensor: (tensor,+count) = pair scalar_result(~Element,initial,count,reduce(~Element,~Element,~operation,name,tensor,initial)) Uses (7): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Pair https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Sigma https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=String https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=U32 https://jend.leeeet.dev/definition.txt?path=stelliferous@0.0.2.0/tensor.bend&name=Tensor https://jend.leeeet.dev/definition.txt?path=stelliferous@0.0.2.0/tensor.bend&name=reduce https://jend.leeeet.dev/definition.txt?path=stelliferous@0.0.2.0/tensor.bend&name=scalar_result