The transfer-matrix method is a method used in optics and acoustics to analyze the propagation of electromagnetic or acoustic waves through a stratified medium ; a stack of thin films. This is, for example, relevant for the design of anti-reflective coatings and dielectric mirrors.