Computing a compact local Smith–McMillan form | Synapse