Wolfram Language Paclet Repository

Community-contributed installable additions to the Wolfram Language

Primary Navigation

    • Cloud & Deployment
    • Core Language & Structure
    • Data Manipulation & Analysis
    • Engineering Data & Computation
    • External Interfaces & Connections
    • Financial Data & Computation
    • Geographic Data & Computation
    • Geometry
    • Graphs & Networks
    • Higher Mathematical Computation
    • Images
    • Knowledge Representation & Natural Language
    • Machine Learning
    • Notebook Documents & Presentation
    • Scientific and Medical Data & Computation
    • Social, Cultural & Linguistic Data
    • Strings & Text
    • Symbolic & Numeric Computation
    • System Operation & Setup
    • Time-Related Computation
    • User Interface Construction
    • Visualization & Graphics
    • Random Paclet
    • Alphabetical List
  • Using Paclets
    • Get Started
    • Download Definition Notebook
  • Learn More about Wolfram Language

Hypergraph

Tutorials

  • Hypergraph Rewriting

Guides

  • Hypergraph Functionality

Symbols

  • AdjacencyHypergraph
  • AdjacencyTensor
  • CanonicalHypergraph
  • CanonicalHypergraphRule
  • ConnectedHypergraphQ
  • CyclicEdge
  • EdgeListTagged
  • EdgeMultiplicity
  • EdgeSymmetry
  • EnumerateHypergraphRules
  • EnumerateHypergraphs
  • EnumerateOrderedHypergraphs
  • EnumerateWolframModelRules
  • HighlightRule
  • HyperedgeList
  • Hyperedge
  • Hyperedges
  • HyperedgesQ
  • Hypergraph3D
  • HypergraphArityReduce
  • HypergraphDraw
  • HypergraphEmbedding
  • HypergraphHadamardProduct
  • HypergraphIncidenceMatrix
  • HypergraphIncidence
  • HypergraphInsertionBracketDegree
  • HypergraphInsertionBracket
  • HypergraphInsertion
  • HypergraphLargeQ
  • Hypergraph
  • HypergraphQ
  • HypergraphRuleDraw
  • HypergraphRule
  • HypergraphRuleQ
  • HypergraphToGraph
  • HypergraphTransitionMatrix
  • HypergraphUnion
  • HypermatrixGraph
  • Hypermatrix
  • HypermatrixQ
  • IncidenceHypergraph
  • IsomorphicHypergraphQ
  • KoszulSign
  • LinkedHypergraph
  • OrderedHypergraphToGraph
  • RandomAllHypergraph
  • RandomConnectedHypergraph
  • RandomHypergraph
  • RandomHypergraphRule
  • SetHypergraphSummaryThresholds
  • SimpleHypergraph
  • SimpleHypergraphPlot3D
  • SimpleHypergraphPlot
  • SimpleHypergraphQ
  • ToLabeledEdges
  • ToLabeledPatternEdges
  • ToOrderedHypergraph
  • ToPatternRules
WolframInstitute`Hypergraph`
IncidenceHypergraph
​
IncidenceHypergraph
[matrix]
constructs the hypergraph whose incidence matrix is matrix.
​
​
IncidenceHypergraph
[vertices,matrix]
uses the given list of vertices for the matrix rows.
​
Details and Options
▪
Rows of matrix correspond to vertices and columns to hyperedges.
▪
Each entry is interpreted as a binary encoding of positions: bit
p-1
of the entry for a vertex and a hyperedge (the value
p-1
2
) places that vertex at position
p
of the hyperedge.
▪
Every position of a hyperedge, from 1 up to its arity, should be claimed by exactly one row; the encoding is the one produced by
HypergraphIncidenceMatrix
.
▪
IncidenceHypergraph
[matrix]
uses
Range
[n]
as the vertices, where
n
is the number of rows.
▪
IncidenceHypergraph
inverts
HypergraphIncidenceMatrix
exactly, reproducing the order of hyperedges and the order of vertices within each hyperedge.
Examples  
(4)
Basic Examples  
(1)
Construct a hypergraph from an incidence matrix:
In[1]:=
hg=
IncidenceHypergraph
[{{1,0,1},{2,1,2},{0,2,4}}]
Out[1]=
Each column becomes a hyperedge, with the entries placing vertices at positions:
In[2]:=
EdgeList[hg]
Out[2]=
{{1,2},{2,3},{1,2,3}}
Scope  
(1)

Properties & Relations  
(1)

Possible Issues  
(1)

SeeAlso
HypergraphIncidenceMatrix
 
▪
AdjacencyHypergraph
 
▪
HypermatrixGraph
 
▪
Hypergraph
RelatedGuides
▪
Hypergraph Functionality
""

© 2026 Wolfram. All rights reserved.

  • Legal & Privacy Policy
  • Contact Us
  • WolframAlpha.com
  • WolframCloud.com