Text this: Design, transform and control of optical field in discrete optical system: an example