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
I am new to taylor. I was wondering if I can convert TaylorN object into Num, for example if I want to in the following code do "m+x" where x is a TaylorN while m is Num but now it turned out "ERROR: MethodError: +(::TaylorN{Float64}, ::Num) is ambiguous." I see when order=1 it works. Could anyone help me with it? Thanks!
using TaylorSeries, Symbolics
x, y =set_variables("x y", order=2)
@variables m
m + x
The text was updated successfully, but these errors were encountered:
I must admit that i have no true answer to your question. I had played a little bit with the combination of Symbolics and TaylorSeries, a while ago, exploiting the composability offered by Julia; the results are in this branch, which by lack of time from my side, is stalled.
Please, have a look and play a little with it. If I recall correctly, the whole idea was to form objects like Taylor1{Num}; perhaps the same works with TaylorN.
I am new to taylor. I was wondering if I can convert TaylorN object into Num, for example if I want to in the following code do "m+x" where x is a TaylorN while m is Num but now it turned out "ERROR: MethodError: +(::TaylorN{Float64}, ::Num) is ambiguous." I see when order=1 it works. Could anyone help me with it? Thanks!
The text was updated successfully, but these errors were encountered: