powered by
Compute the modulus of smoothness of a graph signal.
smoothmodulus(f, A, L)
Signal.
Adjacency matrix (sparse or dense).
Laplacian matrix (sparse or dense).
# NOT RUN { data(minnesota) A <- minnesota$A L <- laplacian_mat(A) x <- minnesota$xy[ ,1] f <- sin(x) smoothmodulus(f, A, L) # }
Run the code above in your browser using DataLab