  The relations between a quantum wave impedance function and elements of
transfer and scattering matrixes for quantum mechanical systems with arbitrary
localized form of potential were established. Obtained results allows using the
advantages of both methods, namely a transfer matrix technique and a quantum
wave impedance approach, for an investigating of nanosystems with a complicated
geometry of a potential. A finit Dirac comb was solved and expressions for
Tamm's levels in this system were derived within both approaches.
