Element - Þw
- Distance matrix (Undirected)
Characters:
Þ
,
w
Description
Distance matrix of undirected graph
Overloads
lst
- distance matrix of an undirected graph (where a = [[i, j] for each edge i to j])
Examples
⟨⟨1|3⟩|⟨2|4⟩|⟨3|4⟩⟩ Þw
=
⟨⟨0|3|1|2⟩|⟨3|0|2|1⟩|⟨1|2|0|1⟩|⟨2|1|1|0⟩⟩