Printing in polyform is a bit cluttered:
library("weyl")
options(polyform = TRUE)
rweyl(dim=2)
#> A member of the Weyl algebra:
#> +3*y*dx^2*dy +2*x*y*dy +x^2*dx
rweyl(dim=5)
#> A member of the Weyl algebra:
#> +3*x1^2*x2^2*x3*x5^2*d1*d2^2*d3^2*d4^2 +2*x1*x4^2*d1*d2*d3*d5
#> +x1*x2^2*x3*x4*d3^2*d4^2*d5^2
It would be better to have spaces round the "+"?
Printing in polyform is a bit cluttered:
It would be better to have spaces round the "
+"?