An algorithm for computing scattering poles based on dual characterization to interior eigenvalues | Synapse