To improve the speed of evaluate it would be great to use the naive polynomial form and apply common subexpression elimination on it. This can be done either by
REDUCE an computer algebra system with an package for source code optimization SCOPE with Julia bindings via Reduce.jl.
To improve the speed of
evaluate
it would be great to use the naive polynomial form and apply common subexpression elimination on it. This can be done either by