This book presents the material covered in graduate lectures delivered at The Australian National University in 2010.
Moving from the classical periodic setting to the real line, then to higher dimensional Euclidean spaces and finally to, nowadays, sets with minimal structures, the theory has reached a high level of applicability.