In katz_centrality, the output can be computed with arbitrary precision, depending on how far we compute the power series (parameter cutoff).
If this is not too cumbersome, we could instead input a precision (ex : eps=1e-4, for espilon) so that the series stops when the increment goes below eps.
In
katz_centrality
, the output can be computed with arbitrary precision, depending on how far we compute the power series (parametercutoff
). If this is not too cumbersome, we could instead input a precision (ex :eps=1e-4
, for espilon) so that the series stops when the increment goes beloweps
.