Perron—Frobenius Theory of Nonnegative Matrices