Игорь Пашев <pashev.i...@gmail.com> writes: | Hi, I have a bug report from Debian [1]. | | open-axiom seems to hangs in calcutaions of high-order Legendre | polynomial coefficients. | I have reproduced this on Gentoo too. Can't check lastest version, thought. | | Quoting: | | ============ >8 ====================== | (1) -> p(0) == 1 | Type: Void | (2) -> p(1) == x | Type: Void | (3) -> p(n) == ((2*n-1)*x*p(n-1) - (n-1) * p(n-2))/n | Type: Void | (4) -> p(10) | Compiling function p with type Integer -> Polynomial Fraction | Integer | | 46189 10 109395 8 45045 6 15015 4 3465 2 63 | (4) ----- x - ------ x + ----- x - ----- x + ---- x - --- | 256 256 128 128 256 256 | Type: Polynomial Fraction Integer | | So far so good, now I typed | | (5) -> coefficient(p(90),x,90) | | and this resulted in | PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND | 19239 edi 20 0 1046m 115m 21m R 99,6 11,6 0:45.43 AXIOMsys | | I killed the process "AXOMsys" after awhile :( | | ============ 8< ====================== | | | [1] http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=706813
Here is what I've been able to reproduce so far with OpenAxom-1.4.2: p 10 -> 0.21s p 20 -> 7.54s p 30 -> 912.14s p 40 -> [ computation didn't finish after a while before electrical outage ] The must be a serious waste of computation going on in one of the domains. Investigating. -- Gaby ------------------------------------------------------------------------------ Learn Graph Databases - Download FREE O'Reilly Book "Graph Databases" is the definitive new guide to graph databases and their applications. This 200-page book is written by three acclaimed leaders in the field. The early access version is available now. Download your free book today! http://p.sf.net/sfu/neotech_d2d_may _______________________________________________ open-axiom-devel mailing list open-axiom-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/open-axiom-devel