Element - Þa
- Adjacency matrix (Directed)
Description
Adjacency matrix of directed graph (nonzero A_ij denotes edge from i to j)
Overloads
lst
-adjacency matrix of directed 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|0|0|1|0⟩|⟨0|0|0|0|0⟩⟩
⟨⟩ Þa
=⟨⟨0⟩⟩