The method of complex scaling