You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
functionderivative(O, v; simplify=false, n=1)
D = n==0? v->v :Differential(v)^n
if O isa AbstractArray
Num[Num(expand_derivatives(D(Symbolics.value(o)), simplify)) for o in O]
elseNum(expand_derivatives(D(Symbolics.value(O)), simplify))
endend
to support $n$ th-order derivatives. For example, first-order derivatives are following.
Are there any functions or issues related to higher derivatives?
I extended
derivative()
to support higher derivatives in preparation for the implementation of Taylor series (#59). I replacedSymbolics.jl/src/diff.jl
Lines 420 to 426 in c0966fb
with
to support$n$ th-order derivatives. For example, first-order derivatives are following.
Also, second-order derivatives are following.
If you like this I will send a pull request.
The text was updated successfully, but these errors were encountered: