nigsp.operations.graph.nodestrength¶
- nigsp.operations.graph.nodestrength(mtx, mean=False)[source]¶
Compute the node strength of a graph.
- Parameters:
- mtx
numpy.ndarray
A matrix depicting a graph.
- mean
bool
, optional If True, return the average node strength along the last axis of mtx.
- mtx
- Returns:
numpy.ndarray
The node strength.