Isuru Fernando

Results 928 comments of Isuru Fernando

This doesn't seem to be from using conda installed symengine.

`.evalf({x: 1.0})` sounds good.

> Does SymEngine use a polynomial data structure to expand and convert it back to an unstructured expression tree or does it exclusively work on the unstructured expression tree? It...

However, it doesn't do the same optimizations that Flint/Nemo does. For eg SymEngine does ``` (a^2 + a + 1)^2 = a^4 + a^2 + 1 + 2a^3 + 2a^2...

> For some polynomial operations, we do a round trip to multivariate polynomial representations and back. SymEngine does not have that at all.

@certik, that benchmark has two expands with a power. So, not exactly comparable.

@certik, the benchmark time includes computing `x` and `y` which are powers.

Ah, you are running the benchmark like that. Thanks.

Try `auto m3 = -m2` or `auto m3 = -Expression(sin(phi));`