The masses of a characteristic-function inversion as a grid
chf_to_grid.RdThe masses on 0, step, ..., negative round-off set to 0 and the sum
rescaled to 1, for compound_distribution() and the risk measures on a grid.
Examples
g <- chf_to_grid(invert_chf(gamma_distribution(4, 25), log2 = 12))
TVaR(g, 0.99)
#> [1] 284.1069