These are chat archives for symengine/symengine
Series behaving like a number and expanding anything operated with it:
How do we deal with symbolic rings? For example if we allow symbolic coeffs,
sin(x) + cos(x).series(x, 10) is a perfectly valid series even if
sin(x) is left unexpanded.
So effectively, choosing to expand sin(x) implicitly would mean the answer will not be symbolic.
series_inversionis doing in
ybe the approximate expansion of
1/p(x). Then I define
y - 1/p(x). Using Newton iteration formula gives me
x_j+1 = x_j + x_j*(1 - y*x_j).
@certik, what do you mean by
a specialized series that doesn't need a general Expression
Expressionas a coefficient type for
piranha::polynomial, but as @certik says the performance was bottlenecked by the expression arithmetic