These are chat archives for symengine/symengine
fatal error C1060: compiler is out of heap spacewhenever the flint C++ files are included. More specifically
? Ser(1/(x+y)) %2 = 1/y - 1/y^2*x + 1/y^3*x^2 - 1/y^4*x^3 + 1/y^5*x^4 - 1/y^6*x^5 + 1/y^7*x^6 - 1/y^8*x^7 + 1/y^9*x^8 - 1/y^10*x^9 + 1/y^11*x^10 - 1/y^12*x^11 + 1/y^13*x^12 - 1/y^14*x^13 + 1/y^15*x^14 - 1/y^16*x^15 + O(x^16)
sage: (1/(x+y)).series(x,2) (1/y) + (-1/y^2)*x + Order(x^2) sage: (1/(x+y)).series(y,2) (1/x) + (-1/x^2)*y + Order(y^2)
sage: (1/(x+y)).series(x,2).series(y,2) (-x)*y^(-2) + 1*y^(-1) + Order(1)
one-dimensional series of a multi-var function is useful
This is already supported in symengine. You can just use
Expression as coefficients
WITH_FLINTcan be set independently from
INTEGER_CLASS, e.g. to enable
series_flint.cppcode. However, I might have a use for the
fmpq_wrapperclass there---but it will only be included with
flint. So, will there be always those two cmake options, will this be maybe only one Flint option? If two options, I might factor out the
mp_wrapper.hinto its own header to use it with
I might have a use for the fmpq_wrapper class there
what do you mean?
Also, a user might want to use a different integer class (eg.
piranha::integer), while using say flint polynomials. So, two options must exist
fmpq_wrapperas type for the series template instead of
fmpqxx. See the talk above about MSVC bugs.