Block.vertex_laplacian
- Block.vertex_laplacian(key)[source]
Compute the vector from a vertex to the centroid of its neighbors.
- Parameters
key (int) – The identifier of the vertex.
- Returns
list[float] – The components of the vector.
Compute the vector from a vertex to the centroid of its neighbors.
key (int) – The identifier of the vertex.
list[float] – The components of the vector.