Expand description
Fang Oosterlee approach for inverting a characteristic function. Some useful characteristic functions are provided in the cf_functions repository. Link to Fang-Oosterlee paper.
Structs§
Functions§
- get_
discrete_ cf - Returns “raw” discrete cf @num_u the number of discrete steps in complex space @x_min the minimum value of the truncated x domain @x_max the maximum value of the truncated x domain @cf_fn characteristic function
- get_
expectation_ extended - Returns expectation over equal mesh in the real domain where characteristic function depends on initial starting point of a Levy process.
- get_
expectation_ extended_ move - Returns expectation over equal mesh in the real domain where characteristic function depends on initial starting point of a Levy process and consumes the discrete_cf vector. Useful when only need to use the discrete_cf once.
- get_
expectation_ real - Returns expectation over equal mesh in the real domain
- get_
expectation_ real_ move - Returns expectation over equal mesh in the real domain and consumes the discrete_cf vector. Useful when only need to use the discrete_cf once.
- get_
expectation_ single_ element_ extended - Returns expectation at point supplied by the user where characteristic function depends on initial starting point.
- get_
expectation_ single_ element_ real - Returns expectation at point supplied by the user
- get_
u_ domain - Helper function to get complex u domain @num_u the number of discrete steps in complex space @x_min the minimum value of the truncated x domain @x_max the maximum value of the truncated x domain @return discrete complex values spanning the complex space
- get_
x_ domain - Returns iterator over real (x) domain