nigsp.operations.graph.zerocross

nigsp.operations.graph.zerocross(eigenvec)[source]

Compute the amount of zero-crossing of an eigenvector matrix (for each eigenvector).

Parameters:
eigenvecnumpy.ndarray

The eigenvectors from a decomposition.

Returns:
numpy.ndarray

A 1D array with the amount of zero-crossing for each eigenvector.