This textbook presents the modern unified theory of spectral methods and their implementation in the numerical analysis of partial differential equations occuring in fluid dynamical problems of transition, turbulence, and aerodynamics. The book addresses graduate students and researchers in fluid dynamics and applied mathematics as well as engineers working on problems of practical importance.