In computational electromagnetics, the scattering-matrix method (SMM) is a numerical method used to solve Maxwell's equations, related to the transfer-matrix method.