Generalized Single-Source Tangential Equivalence Principle Algorithm for Analysis of Array Structures