sdepy.merton_jumpdiff_SDE.source_dw¶
-
merton_jumpdiff_SDE.source_dw(dw=None, corr=None, rho=None)¶ Setup a source of standard Wiener process (Brownian motion) increments, to be used as ‘dw’ during integration.
Parameters: - dw : source, or source subclass, or None
If an object complying with the
sourceprotocol, it is returned (corrandrhoare ignored). If a source subclass, it is instantiated with the given parameters, and returned. If None, a new instance ofwiener_sourceis returned, with the given parameters.- corr, rho : see
wiener_sourcedocumentation
Returns: - An object complying with the
sourceprotocol, - instantiating the requested stochasticity source.
- The shape of source values is set to
wshape.
See also