Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ECL crash with Hermite polynomials #20297

Closed
rwst opened this issue Mar 26, 2016 · 3 comments
Closed

ECL crash with Hermite polynomials #20297

rwst opened this issue Mar 26, 2016 · 3 comments

Comments

@rwst
Copy link
Contributor

rwst commented Mar 26, 2016

sage: %time _=hermite(10000,x)
---------------------------------------------------------------------------
RuntimeError                              Traceback (most recent call last)
RuntimeError: ECL says: Memory limit reached. Please jump to an outer pointer, quit program and enlarge the
memory limits before executing the program again.

There is no reason for this because coefficients can be computed directly using big integers:

sage: %time _= [factorial(10000)/(factorial(k)*factorial(10000-2*k)) for k in range(1,5000)]
CPU times: user 4.33 s, sys: 24 ms, total: 4.35 s
Wall time: 4.32 s

A Pynac prototype is about 50x faster than Maxima for expression creation and creates H_10000 in 670ms.

Depends on #20312

Component: symbolics

Issue created by migration from https://trac.sagemath.org/ticket/20297

@rwst rwst added this to the sage-7.2 milestone Mar 26, 2016
@rwst

This comment has been minimized.

@rwst
Copy link
Contributor Author

rwst commented Mar 28, 2016

Dependencies: #20312

@rwst
Copy link
Contributor Author

rwst commented May 11, 2016

comment:3

Fixed in #20312.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants