Anamorphic optical transformation of an amplitude spatial light modulator to a complex spatial light modulator with