msmtools.analysis.eigenvector_sensitivity¶
-
msmtools.analysis.
eigenvector_sensitivity
(T, k, j, right=True)¶ Sensitivity matrix of a selected eigenvector element.
Parameters: - T ((M, M) ndarray) – Transition matrix (stochastic matrix).
- k (int) – Eigenvector index
- j (int) – Element index
- right (bool) – If True compute for right eigenvector, otherwise compute for left eigenvector.
Returns: S – Sensitivity matrix for the j-th element of the k-th eigenvector.
Return type: (M, M) ndarray