JuliaDynamics / DynamicalSystemsBase.jl

Definition of dynamical systems and integrators for DynamicalSystems.jl
Other
53 stars 27 forks source link

Rework trajectory to use arbitrary observables by utilizing `observe_state` #193

Open Datseris opened 5 months ago

Datseris commented 5 months ago

With the new introduction of the observe_state function, we can easily allow any index/observable/symbolic in the save_idxs argument of the trajectory function, allthewhile simplifying its source code as well!