Discrete Methods in Quantum-Scattering Theory