MasonProtter / Symbolics.jl

A symbolic math library written in Julia modelled off scmutils
MIT License
107 stars 15 forks source link

fail to plus an variable with a number #26

Open XLin0mu opened 1 year ago

XLin0mu commented 1 year ago

Addition operator for variable with number is not available:

julia> @syms x
julia> x+3
ERROR

But multiplication is available:

julia> x*3
3x

Is there some inner special reason? Why can't it be a symbolic data as x+3?