Matching methods for single and multiple interfaces: Discrete and continuous media