powered by
This function computes the P-F (i.e. Perron-Frobenius) eigenvalue and eigenvector of an indecomposable nonnegative square matrix.
PF_eig(M)
an indecomposable nonnegative square matrix.
PF_eig returns a list containing the following components:
the P-F eigenvalue of M.
the normalized P-F eigenvector of M.
Horn, R. A., Johnson, C. R. (2012, ISBN: 0521548233) Matrix Analysis. Cambridge University Press.
# NOT RUN { M<-matrix(c(0.5,1, 1, 0),2,2,TRUE) PF_eig(M) # }
Run the code above in your browser using DataLab