The almost non-existent ODE.jl manual could sure use some love. However,
your question could be answered by reading the readme or this example:
http://nbviewer.jupyter.org/github/JuliaLang/ODE.jl/blob/master/examples/Simple_Differential_Equation.ipynb
julia> oscillator(t, y) = [y[2], - 3* + y[1] -
I am trying to make this working only with using ODE,Plots
but not Sundials, any help ?
Works fine this way, but I would like to keep pure julia :
using Sundials,ODE,Plots
pyplot(size=(300,200),leg=false,
guidefont=font(7), titlefont=font(7));
function oscillator(t, y, ydot)
ydot[1] = y[2]