Project 1 - Exercise 6 Ordering of Matrices in Logisim

I just wanted to clarify, for an edge going from v0 → v7, the matrix representation would have a 1 in the first row (x_row_0) in the right column correct?

Thanks,
Gabe

Correct, the indexing is consistent with standard matrix indexing, where the leftmost column (and topmost row) correspond to v_0.

In the screenshot below, the matrix represents a graph which has a single edge v_0 \to v_1.

1 Like