Vyxapedia

Element - ÞA - Adjacency matrix (Undirected)

Characters: Þ, A


Description

Adjacency matrix of undirected graph


Overloads

  • lst - adjacency matrix of undirected graph (where a = [[i, j] for each edge i to j])

Examples

  • ⟨⟨1|5⟩|⟨2|4⟩|⟨3|4⟩|⟨4|4⟩⟩ ÞA = ⟨⟨0|0|0|0|1⟩|⟨0|0|0|1|0⟩|⟨0|0|0|1|0⟩|⟨0|1|1|2|0⟩|⟨1|0|0|0|0⟩⟩
  • ⟨⟨1|3⟩⟩ ÞA = ⟨⟨0|0|1⟩|⟨0|0|0⟩|⟨1|0|0⟩⟩
  • ⟨⟩ ÞA = ⟨⟨0⟩⟩