Dear Waldek,
thank you for answering so quickly.
On 12.06.23 14:33, Waldek Hebisch wrote:
It looks that your reduction step is likely to create something
like 200 series as intermediate results. With 200 rounds that
may give enough series to fill memory.
Yes, meanwhile I also came close to this observation.
Perhaps for this special case I can do something with computing an
estimate of the extension point, i.e. which coefficients of my initial
kleinJ series will actually be relevant for the result and then do the
whole computation by computing with univariate (Laurent) polynomials.
> I would have doubts about number of series that you keep. Namely,
> to be able to compute next terms series keep references to arguments.
> For multiplication that means argument to product are needed as long
> as product is needed. If you do say 1000 series multiplications,
> then you actually keep all arguments to multiplications which
> probably goes in thousends.
OK, that would explain, why
ar := reduce(aj0^estart * af, aab)$QMRED(CX,An)
ars := [ar]
for i in estart .. eend repeat
print(i)
-- ars := cons(ar,ars)
ar := reduce(aj0 * ar, aab)
fills my memory with or without the cons line. (But I need all of the
coefficients -300..0 of all the elements in ars, eventually.
However, as you see, that are only be roughly one multiplication per
round. I must investigate the reduction, but do not expect that there is
any mutliplication there or perhaps only one. (Maybe, I'm wrong -- more
after my checking this.)
For FriCAS:
Maybe, it would be worth to introduce a special function reduce(x,c,y)
for Laurent and Taylor series, and streams so that it behaves like
x-c*y, but does not create an intermediate series c*y for some constant c.
Ralf
--
You received this message because you are subscribed to the Google Groups "FriCAS -
computer algebra system" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/fricas-devel/0456a494-1b74-7fc8-a06d-15993b946f79%40hemmecke.org.