karp - maxplus eigenvalue ( Karp algorithm )
Maxplus eigenvalue of an irreducible matrix A. If A is not irreducible, it gives one eigenvalue but not always the largest.
karp(#(1)) karp(#([1,2;3,4])) karp(#([1,%0;%0,2])) karp(sparse([%0,1;3,%0]))
howard, semihoward,