sdepy.cox_ingersoll_ross_SDE.sde¶
-
cox_ingersoll_ross_SDE.sde(s, x, theta=1.0, k=1.0, xi=1.0)[source]¶ Stochastic Differential Equation (SDE) to be integrated.
Parameters: - t : float
Time point at which the SDE should be evaluated.
- x : array
Values that the stochastic process takes at time
t.- sde_args : zero or more arrays, as keyword arguments
SDE parameters, as implied by the
sdemethod signature. Passed upon instantiation of theSDEclass as possibly time-dependent array-like, these parameters are served to thesdemethod once evaluated attand converted to arrays vianp.asarray.
Returns: - sde_terms : dict of arrays
Contains, for each differential stated in the
sourceattribute, the value of the corresponding coefficient in the represented SDE.
Notes
xshould be treated as read-only.