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
help?> Differential
search: Differential
struct Differential <:Symbolics.Operator
Represents a differential operator.
Fields
≡≡≡≡≡≡
• x: The variable or expression to differentiate with respect to.
Examples
≡≡≡≡≡≡≡≡
julia>using Symbolics
julia>@variables x y;
julia> D =Differential(x)
(D'~x)
But in a REPL, I get a different result
julia>using Symbolics
julia>@variables x y;
julia> D =Differential(x)
(::Differential) (generic function with 3 methods)
julia>D(y) # Differentiate y wrt. xDifferential(x)(y)
julia> Dx =Differential(x) *Differential(y) # d^2/dxy operatorDifferential(x) ∘Differential(y)
julia> D3 =Differential(x)^3# 3rd order differential operatorDifferential(x) ∘ (Differential(x) ∘Differential(x))
Strangely, the REPL docstring example is a doctest. I'm happy to change the docstring and/or the show behavior so that these align.
The text was updated successfully, but these errors were encountered:
From the docstring,
But in a REPL, I get a different result
Strangely, the REPL docstring example is a doctest. I'm happy to change the docstring and/or the show behavior so that these align.
The text was updated successfully, but these errors were encountered: