Powers of the Adjacency Matrix

how can I implement of Powers of the Adjacency Matrix?
e.g.
A^2 =A * A

You can use this API.

1 Like