An algorithm for adapting the radiation pattern of an antenna array to the jamming conditions is described, based on direct inversion of the covariance matrix of the input signals, with a new method of restricting the shape of the radiation pattern for this algorithm.