A rigorous unidirectional method for designing finite aperture diffractive optical elements.