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

Euler numbers via flint #20763

Closed
fchapoton opened this issue Jun 2, 2016 · 9 comments
Closed

Euler numbers via flint #20763

fchapoton opened this issue Jun 2, 2016 · 9 comments

Comments

@fchapoton
Copy link
Contributor

euler numbers currently use the slow maxima pexpect interface

they can be much faster using flint

for a possible follow-up, see #17770

CC: @tscrim @jm58660

Component: combinatorics

Author: Frédéric Chapoton

Branch/Commit: 510a91d

Reviewer: Travis Scrimshaw

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

@fchapoton fchapoton added this to the sage-7.3 milestone Jun 2, 2016
@fchapoton
Copy link
Contributor Author

Commit: 510a91d

@fchapoton
Copy link
Contributor Author

New commits:

510a91duse flint for euler numbers

@fchapoton

This comment has been minimized.

@fchapoton
Copy link
Contributor Author

Branch: u/chapoton/20763

@tscrim
Copy link
Collaborator

tscrim commented Jun 2, 2016

comment:2

Can you give some reasoning why it is 1000 for the cut-off for sig_on/sig_off?

@fchapoton
Copy link
Contributor Author

comment:3

I just copied that from the code of another function in flint/arith.

@tscrim
Copy link
Collaborator

tscrim commented Jun 2, 2016

comment:4

Guess they consider that a good cutoff bound for speed for small values. Nor can I fault it:

sage: %time euler_number(10000)
CPU times: user 46.3 ms, sys: 0 ns, total: 46.3 ms
Wall time: 46.2 ms
# Too long to put here

@tscrim
Copy link
Collaborator

tscrim commented Jun 2, 2016

Reviewer: Travis Scrimshaw

@vbraun
Copy link
Member

vbraun commented Jun 5, 2016

Changed branch from u/chapoton/20763 to 510a91d

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

3 participants