Linear relations and Jordan cells. (A computational approach to monodromy in topology)