jverzani / SymPyCore.jl

Package to help connect Julia with the SymPy library of Python
https://jverzani.github.io/SymPyCore.jl/
MIT License
5 stars 4 forks source link

y'(t) syntax #46

Closed runjaj closed 5 months ago

runjaj commented 5 months ago

In previous versions of SymPy.jl was possible to write an ODE as:

y''(t) + 3y'(t) +2y(t) ~ 1

I notice that this syntax isn't available now. Will it be restored in future versions? Just to know if I need to change my notes.

Thanks!

jverzani commented 5 months ago

Sorry, that syntax was deprecated and then removed. It required a special type for symbolic functions that wasn't necessary. In its place, there is Differential as a helper to make such formulas look a bit better that those in the Python docs which have diff all over them. This section of the docs illustrates: https://jverzani.github.io/SymPyCore.jl/dev/Tutorial/solvers/#Solving-Differential-Equations

runjaj commented 5 months ago

OK. I’ll change my notes.