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
Absolute values are very common in symbolic equations. I would like to be able to solve equations containing absolutes using symbolics.
For example:
julia>@variables x y
2-element Vector{Num}:
x
y
julia> lhs =norm([x, y])
sqrt(abs2(y) +abs2(x))
julia>symbolic_solve(lhs, x)
┌ Warning: Var not present in given expression
└ @ Symbolics ~/.julia/packages/Symbolics/YbNrd/src/solver/ia_main.jl:283
Right now this causes a warning related to issue #1377.
Running with lhs = abs(x) gives a different warning:
julia>@variables x y
2-element Vector{Num}:
x
y
julia> lhs =abs(x)
abs(x)
julia>symbolic_solve(lhs, x)
┌ Warning: This expression cannot be solved with the methods available to ia_solve. Try a numerical method instead.
└ @ Symbolics ~/.julia/packages/Symbolics/YbNrd/src/solver/ia_main.jl:47
The text was updated successfully, but these errors were encountered:
Absolute values are very common in symbolic equations. I would like to be able to solve equations containing absolutes using symbolics.
For example:
Right now this causes a warning related to issue #1377.
Running with
lhs = abs(x)
gives a different warning:The text was updated successfully, but these errors were encountered: