We present an exact mathematical description of beam shaping and indic
ate that a rigorous solution does not exist: only an optimal solution
can be found. An optimization method is proposed to search for the sol
ution. The simulation results for an example are given in detail. (C)
1998 Optical Society of America.