# dgl.transform.laplacian_lambda_max¶

dgl.transform.laplacian_lambda_max(g)[source]

Return the largest eigenvalue of the normalized symmetric laplacian of g.

The eigenvalue of the normalized symmetric of any graph is less than or equal to 2, ref: https://en.wikipedia.org/wiki/Laplacian_matrix#Properties

Parameters: g (DGLGraph) – The input graph, it should be an undirected graph. Return a list, where the i-th item indicates the largest eigenvalue of i-th graph in g. list

Examples

>>> import dgl
>>> g = dgl.DGLGraph()