Deterministic and Stochastic Methods for the Synthesis of Large-Scale Antenna Arrays