A method for determining the modes that can be guided along infinite chains of metallic nanowires when they are embedded, as in most realistic set-ups, in layered media is presented. The method is based on a rigorous full-wave frequency-domain Source-Model Technique (SMT). The method allows efficient determination of the complex propagation constants and the surface-plasmon type modal fields. S...