DynamicPolynomials.jl icon indicating copy to clipboard operation
DynamicPolynomials.jl copied to clipboard

Don't omit the times symbol when print a polynomial

Open newptcai opened this issue 5 years ago • 2 comments

Try this

julia> @polyvar p beta
(p, beta)

julia> p*beta
pbeta

Shouldn't there a \times or a *?

newptcai avatar Apr 22 '20 13:04 newptcai

We omit the * for conciseness as the variables usually only have only one symbol. One idea would be to use * in case at least one variables have multiple symbols.

blegat avatar Apr 22 '20 15:04 blegat

Most CAS at least print a space between symbols. Without it, it would be difficult to copy and paste results between different systems.

newptcai avatar Apr 23 '20 06:04 newptcai