Continuous representation by summation over field modes