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
dj
withpaths=2*K
paths,x = dj(t, dt)
consists of leadingK
paths with independent increments, and trailingK
paths consisting of a copy of the leading paths:x[..., i]
equalsx[..., K + i]
. Intended to be used together withodd_wiener_source
to generate antithetic paths in jump-diffusion processes.See also
Attributes: Methods
__call__