https://123dok.com/document/qvl1knly-teorema-perron-frobenius.html