2.3.7. sdepy.even_cpoisson_source¶
-
class
sdepy.even_cpoisson_source(*, paths=2, vshape=(), **args)[source]¶ dj, a source of compound Poisson process increments (jumps) with antithetic paths exposing identical increments.
Once instantiated as
djwithpaths=2*Kpaths,x = dj(t, dt)consists of leadingKpaths with independent increments, and trailingKpaths consisting of a copy of the leading paths:x[..., i]equalsx[..., K + i]. Intended to be used together withodd_wiener_sourceto generate antithetic paths in jump-diffusion processes.See also
Attributes: Methods
__call__