Definition. Adjacency matrix of a finite directed graph [00JN]

We have seen in Lecture 13 (Definition [00IY]) how to turn any relation R\colon {\mathopen {}\left [m\right ]\mathclose {}}\mathbin {\nrightarrow }{\mathopen {}\left [n\right ]\mathclose {}} into a matrix \operatorname {\underline {mat}}_{\mathbb {B}}R:\mathrm {Mat}_{\mathbb {B}}{\mathopen {}\left (m,n\right )\mathclose {}} over the boolean semiring. When R\colon {\mathopen {}\left [n\right ]\mathclose {}}\mathbin {\nrightarrow }{\mathopen {}\left [n\right ]\mathclose {}} is the edge relation in a graph with vertices in the finite set {\mathopen {}\left [n\right ]\mathclose {}}, we refer to \operatorname {\underline {mat}}_{\mathbb {B}}R:\mathrm {Mat}_{\mathbb {B}}{\mathopen {}\left (n,n\right )\mathclose {}} as the adjacency matrix of R.