Block.adjacency_matrix

Block.adjacency_matrix(rtype='array')

Compute the adjacency matrix of the mesh.

Parameters:
rtypeLiteral[‘array’, ‘csc’, ‘csr’, ‘coo’, ‘list’], optional

Format of the result.

Returns:
array-like

The adjacency matrix.