# EoN.get_PGF¶

EoN.get_PGF(Pk)[source]

Given a degree distribution (as a dict), returns the probability generating function

Pk dict
Pk[k] is the proportion of nodes with degree k.
psi function
$$\psi(x) = \sum_k P_k[k] x^k$$