-
-
Notifications
You must be signed in to change notification settings - Fork 517
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
use flint fmpq_mat for rational dense matrices #22970
Comments
Branch: u/vdelecroix/22970 |
Commit: |
comment:2
For a discussion about an annoying segfault related to this ticket, see this thread. |
Branch pushed to git repo; I updated commit sha1. This was a forced push. New commits:
|
This comment has been minimized.
This comment has been minimized.
Changed keywords from none to thursdaysbdx |
Branch pushed to git repo; I updated commit sha1. New commits:
|
New commits:
|
Branch pushed to git repo; I updated commit sha1. New commits:
|
Branch pushed to git repo; I updated commit sha1. This was a forced push. New commits:
|
comment:11
Thanks for the work Vincent! I think that it's my duty to review this one :-). While I update my develop branch and check the ticket out, could you check that that the docstring in the determinant method is correct? In Also, do you happen to have timings? that compare with the previous implementation? Otherwise I can produce some... |
comment:12
Hi Marc, Thanks for proposing the review! I need some more work on my branch as I have strange failing doctests in I will provide proper timings for the following methods (tell me if you have more in mind):
|
Attachment: test_file.sage.gz |
Branch pushed to git repo; I updated commit sha1. This was a forced push. New commits:
|
comment:14
At commit
and
And it looks like a bug to me that this result depends on the seed of the random generator... |
comment:15
Replying to comment:14: Discussed at |
comment:16
Attachment: benchmark_matrices.py.gz From attachment: benchmark_matrices.py
|
Branch pushed to git repo; I updated commit sha1. This was a forced push. New commits:
|
comment:33
at commit b5f5600 I got
and at 5f2e1ba the even better
|
comment:35
And tests also pass on beta7! |
comment:36
This is definitely more than satisfying. The code looks very clean, and all tests pass. Thanks for the great work! |
Reviewer: Marc Masdeu |
comment:37
Merge conflict |
comment:38
Too bad. The code is fine on beta7. Can I try to fix it by merging another ticket? |
Branch pushed to git repo; I updated commit sha1. This was a forced push. Last 10 new commits:
|
comment:40
rebased (I launched the patchbot) |
comment:41
patchbot still happy! |
Changed branch from u/vdelecroix/22970 to |
The flint library has a builtin type for rational matrices:
fmpq_mat_t
. This ticket proposes to replace the current array ofmpq_t
wrapped byMatrix_rational_dense
in favor offmpq_mat_t
.(See also the related #22924 and #22872)
CC: @ClementPernet @mmasdeu
Component: linear algebra
Keywords: thursdaysbdx
Author: Vincent Delecroix
Branch/Commit:
cb0dae1
Reviewer: Marc Masdeu
Issue created by migration from https://trac.sagemath.org/ticket/22970
The text was updated successfully, but these errors were encountered: