def tallied

bend-visgraph@2.0.0.0 · visgraph.bend:990

import bend-visgraph@2.0.0.0/visgraph.bend as Visgraph
import Base

990def tallied(es: Edges, +both: Bool, +n: U32, c: Counts) -> Adjacency:
991  Counts{outs, ins} = c
992  with_total(es, both, Array.get(U32, starts(U32.to_nat(n), 0, Array.get(U32, outs, 0), 0), n), starts(U32.to_nat(n), 0, Array.get(U32, ins, 0), 0))

Uses (9)

Used by (1)