def degrees

bend-visgraph@2.0.0.0 · parallel.bend:196

import bend-visgraph@2.0.0.0/parallel.bend as Parallel
import Base
import bend-visgraph@2.0.0.0/visgraph.bend as VG

196# VG.degrees on every thread.
197def degrees(g: VG.Graph) -> Array<U32>:
198  VG.Graph{+n, dir, es} = g
199  degrees_tree(fork_depth(), es, Array.fork(U32, VG.slots(n)))

Uses (7)

Used by (1)