Inverse Laplace transform for a new class of functions and its application to time-fractional diffusion-wave equations