orebas
orebas
What is the current way to just convert a number (and indeed, the number 0) into a symbolic that can be stored in a vector with other symbolic expressions? I...
I am getting an error, and I am not sure if it is the same error as above. Is there any workaround? Of note, I only seem to get an...
Here's a shorter MWE for this. Weirdly, renaming `x` to `t` seems not to fail. Related discourse question: [https://discourse.julialang.org/t/julia-symbolics-error-when-taking-derivative-of-a-quotient/118007](url) ``` using ModelingToolkit function main() @variables t a(t) b(t) D =...
Here is a more explicit and readable MWE: ``` using Symbolics function main() @variables t a(t) b(t) D = Differential(t) q = D( (-3D(a) * D(D(D(b))) - D(D(D(D(b)))) * a...
Running the above, the error is ``` ERROR: LoadError: MethodError: no method matching isnan(::TaylorScalar{Float64, 2}) Closest candidates are: isnan(::Missing) @ Base missing.jl:101 isnan(::BigFloat) @ Base mpfr.jl:982 isnan(::Complex) @ Base complex.jl:151...
If I go ahead and try to define isnan, (you can uncomment 4 lines near the top of the MWE), the error becomes ``` ERROR: LoadError: Non-concrete element type inside...
I'm still getting this error with the above MWE: ``` ERROR: LoadError: MethodError: no method matching TaylorScalar{Float64, 2}(::Tuple{Float64, ChainRulesCore.ZeroTangent}) Closest candidates are: TaylorScalar{T, N}(::TaylorScalar{T, M}) where {T, N, M} @...
I'm a bit out of my depth, but I'll ask some questions that may help others, fully appreciating that you've tabled this for more pressing matters 1) ForwardDiff.jl seems to...
I am trying to find a way around this using a "temporary submodule" or something, but I'm not really sure what Julia allows.
Actually, now that I think about it a bit more, I'm not sure how to ask Julia Symbolics to help me with the following math problem: We have a function...