JuliaAlgebra / DynamicPolynomials.jl

Multivariate polynomials implementation of commutative and non-commutative variables
Other
60 stars 21 forks source link

Don't omit the times symbol when print a polynomial #60

Open newptcai opened 4 years ago

newptcai commented 4 years ago

Try this

julia> @polyvar p beta
(p, beta)

julia> p*beta
pbeta

Shouldn't there a \times or a *?

blegat commented 4 years ago

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.

newptcai commented 4 years ago

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