On the theory of antenna synthesis