mpprojspec - maxplus spectral projector
Computes the spectral projector associated with the largest eigenvalue of a maxplus matrix and gives the number of strongly connected components of the critical graph which is the dimension of the corresponding spectral space.
[P,n]=mpprojspec(#(1)) a=#([1,2;3,4]);[P,n]=mpprojspec(a) P*a==P*4 a=#([1,0;0,1]); [P,n]=mpprojspec(a) P*a==P*1