File tree Expand file tree Collapse file tree 2 files changed +39
-1
lines changed Expand file tree Collapse file tree 2 files changed +39
-1
lines changed Original file line number Diff line number Diff line change 56
56
57
57
58
58
class AbstractBrownianIncrement (eqx .Module ):
59
+ """
60
+ Abstract base class for all Brownian increments.
61
+ """
62
+
59
63
dt : eqx .AbstractVar [PyTree [FloatScalarLike , "BM" ]]
60
64
W : eqx .AbstractVar [BM ]
61
65
62
66
63
67
class AbstractSpaceTimeLevyArea (AbstractBrownianIncrement ):
68
+ """
69
+ Abstract base class for all Space Time Levy Areas.
70
+ """
71
+
64
72
H : eqx .AbstractVar [BM ]
65
73
66
74
67
75
class AbstractSpaceTimeTimeLevyArea (AbstractSpaceTimeLevyArea ):
76
+ """
77
+ Abstract base class for all Space Time Time Levy Areas.
78
+ """
79
+
68
80
K : eqx .AbstractVar [BM ]
69
81
70
82
71
83
class BrownianIncrement (AbstractBrownianIncrement ):
84
+ """
85
+ Pytree containing the `dt` time increment and `W` the Brownian motion.
86
+ """
87
+
72
88
dt : PyTree [FloatScalarLike , "BM" ]
73
89
W : BM
74
90
75
91
76
92
class SpaceTimeLevyArea (AbstractSpaceTimeLevyArea ):
93
+ """
94
+ Pytree containing the `dt` time increment, `W` the Brownian motion, and `H`
95
+ the Space Time Levy Area.
96
+ """
97
+
77
98
dt : PyTree [FloatScalarLike , "BM" ]
78
99
W : BM
79
100
H : BM
80
101
81
102
82
103
class SpaceTimeTimeLevyArea (AbstractSpaceTimeTimeLevyArea ):
104
+ """
105
+ Pytree containing the `dt` time increment, `W` the Brownian motion, `H`
106
+ the Space Time Levy Area, and `K` the Space Time Time Levy Area.
107
+ """
108
+
83
109
dt : PyTree [FloatScalarLike , "BM" ]
84
110
W : BM
85
111
H : BM
Original file line number Diff line number Diff line change @@ -47,13 +47,25 @@ a `VirtualBrownianTree`) should be initialized with `levy_area=SpaceTimeLevyArea
47
47
a concrete class must be used, not its abstract parent.
48
48
49
49
::: diffrax.AbstractBrownianIncrement
50
+ selection:
51
+ members: false
50
52
51
53
::: diffrax.BrownianIncrement
54
+ selection:
55
+ members: false
52
56
53
57
::: diffrax.AbstractSpaceTimeLevyArea
58
+ selection:
59
+ members: false
54
60
55
61
::: diffrax.SpaceTimeLevyArea
62
+ selection:
63
+ members: false
56
64
57
65
::: diffrax.AbstractSpaceTimeTimeLevyArea
66
+ selection:
67
+ members: false
58
68
59
- ::: diffrax.SpaceTimeTimeLevyArea
69
+ ::: diffrax.SpaceTimeTimeLevyArea
70
+ selection:
71
+ members: false
You can’t perform that action at this time.
0 commit comments