Exact solution for the dynamic analysis of uncertain structures in the frequency domain