graph_degree_summary — GRAPH degree op

• Datenarten: matrix → table

• Aufruf: import fullseye as fs; fs.ledger.graph_degree_summary(adj) (die Implementierung direkt: import graphinv; graphinv.graph_degree_summary(adj); aus dem Register: opsgraph.get("graph_degree_summary"))

Verwendung

> Für diesen Operator gibt es noch keine Übersetzung. Es folgt der Originaltext unverändert.

Degrees, density and reciprocity of a directed wiring matrix.

`adj is a square matrix; entry (i, j) > 0 means an edge i -> j`. Self-loops

are counted separately and excluded from the edge statistics. Returns a dict with

`n, edges, self_loops, the in_degree / out_degree` arrays,

`density (edges / (n (n-1))), and reciprocal_pairs` (unordered pairs wired

in both directions).

The identity `in_degree.sum() == out_degree.sum() == edges` holds exactly for

any directed graph and is checked before returning (fail-closed — if it ever broke,

the matrix was not what the caller thought).

Raises `ValueError`: non-square / empty / non-finite / negative input, or a

matrix over the node cap.

Referenzen (Beispieldaten, Literatur)

• Katalog der Beispieldaten (Download-URLs / Lizenzen) — 2-D nutzt skimage.data (BSD/Public Domain) plus synthetische Bilder, 3-D nennt Download-URLs echter Datenquellen (Stanford, PDS, …).

• Herkunft und Literatur der Operatoren — die Quellen der Forschung/Verfahren, auf denen diese Operatorfamilie beruht.

• Der kanonische Algorithmus (Autor, Jahr) und seine Anwendungen stehen im Familienleitfaden oben.

Ausführbare Beispiele (verifizierte Samples, die diesen Operator wirklich aufrufen)

• graphinv_three_phyla — py -3.11 examples/graphinv_three_phyla.py

• poc_connectome_lr_symmetry — py -3.11 examples/poc_connectome_lr_symmetry.py

Typkompatible Folge-Operatoren (nehmen table als Eingabe)

graph_edge_consensus · graph_core_persistence · tree_morphometry · tree_sholl · tree_run_length

Gleiche Kategorie (degree)

—


*Provenance: graphinv.py — GRAPH Operator-Registry. Diese Notiz wird von tools/opdocs.py md erzeugt (nicht von Hand bearbeiten).*

© 2026 Kazufumi Furuse — Fullseye operator documentation. Licensed under Apache-2.0.