sdepy.merton_jumpdiff_process.shapes¶
-
merton_jumpdiff_process.shapes(vshape)¶ Shape of the values to be computed and stored upon integration of the SDE.
Parameters: - vshape : int or tuple of int
Shape of the values of the integration result, as requested upon instantiation of
SDE.
Returns: - vshape : int or tuple of int
Confirms or overrides the given
vshape.- xshape : int or tuple of int
Shape of the values stored during integration at the output time points.
out_xarray passed to theletmethod has shapexshape + (paths,). Defaults tovshape.- wshape : int or tuple of int
Shape of the working space used during integration.
xvalues passed to thesdeandletmethods have shapewshape + (paths,). Defaults tovshape.
Notes
xshapeandwshapeare passed to the parentpaths_generatorclass.hull_white_SDEandheston_SDEclasses illustrate use cases for different values ofvshape,xshapeand/orwshape.