Skip to content

Commit ba571c2

Browse files
committed
document stage
1 parent f766f81 commit ba571c2

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/discrete.jl

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,10 @@ Return the Jacobian matrix of the equations of motion at the system's state.
141141
jacobian(ds::DynamicalSystem) = (ds.jacob!(ds.J, state(ds)), ds.J)
142142
jacobian(ds::DiscreteDS) = ds.jacob(state(ds))
143143

144-
144+
"""
145+
state(ds::DynamicalSystem)
146+
Return the state of the system.
147+
"""
145148
state(ds::DynamicalSystem) = ds.state
146149

147150
#####################################################################################

0 commit comments

Comments
 (0)