This is where navigation should be.


GSP_DIV - Graph divergence

Usage

di = gsp_div(G,s)

Input parameters

G Graph structure
s Signal living on the edges

Output parameters

di Divergence

Description

The divergence operator is the adjoint of the gradient operator. For graphs, the divergence of a signal residing on edges gives a signal living on the nodes. The result should be such that:

gsp_div(G,gsp_grad(G,s)) = G.L * s,

Before using this function, you need to call the function:

G = gsp_adj2vec(G)