Description Usage Arguments Value
Rescales the Laplacian eigenvalues in -1,1, using lmax as largest eigenvalue.
1 | utils_rescale_laplacian(L, lmax = NULL)
|
L |
rank 2 array or sparse matrix |
lmax |
if NULL, compute largest eigenvalue with scipy.linalg.eisgh. If the eigendecomposition fails, lmax is set to 2 automatically. If scalar, use this value as largest eignevalue when rescaling. |
the rescaled Laplacian
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.