Crate fang_oost[][src]

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

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

Returns expectation over equal mesh in the real domain where characteristic function depends on initial starting point of a Levy process.

Returns expectation over equal mesh in the real domain

Returns expectation at point supplied by the user where characteristic function depends on initial starting point.

Returns expectation at point supplied by the user

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

Returns iterator over real (x) domain