Yue’s solution of classical elasticity in
n
-layered solids: Part 1, mathematical formulation