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

Kernels for dense matrices mod p #13500

Closed
malb opened this issue Sep 17, 2012 · 2 comments
Closed

Kernels for dense matrices mod p #13500

malb opened this issue Sep 17, 2012 · 2 comments

Comments

@malb
Copy link
Member

malb commented Sep 17, 2012

This seems too slow:

sage: A = random_matrix(GF(127),4000,5000)
sage: %time _ = A.echelon_form() # okay
CPU times: user 8.07 s, sys: 0.13 s, total: 8.20 s
Wall time: 8.24 s
sage: %time A.right_kernel() # slow!
CPU times: user 56.33 s, sys: 0.23 s, total: 56.56 s
Wall time: 56.83 s

CC: @burcin

Component: linear algebra

Reviewer: Travis Scrimshaw

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

@malb malb added this to the sage-5.11 milestone Sep 17, 2012
@jdemeyer jdemeyer modified the milestones: sage-5.11, sage-5.12 Aug 13, 2013
@sagetrac-vbraun-spam sagetrac-vbraun-spam mannequin modified the milestones: sage-6.1, sage-6.2 Jan 30, 2014
@mezzarobba
Copy link
Member

comment:4

The timings look much better now:

$ sage
┌────────────────────────────────────────────────────────────────────┐
│ Sage Version 6.2.beta3, Release Date: 2014-03-03                   │
│ Type "notebook()" for the browser-based notebook interface.        │
│ Type "help()" for help.                                            │
└────────────────────────────────────────────────────────────────────┘
┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓
┃ Warning: this is a prerelease version, and it may be unstable.     ┃
┗━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┛
sage: A = random_matrix(GF(127),4000,5000)
sage: %time _ = A.echelon_form() # okay
CPU times: user 4.96 s, sys: 96 ms, total: 5.05 s
Wall time: 5.05 s
sage: %time A.right_kernel() # slow!
CPU times: user 6.78 s, sys: 84 ms, total: 6.87 s
Wall time: 6.85 s
Vector space of degree 5000 and dimension 1000 over Finite Field of size 127

@mezzarobba mezzarobba removed this from the sage-6.2 milestone Mar 9, 2014
@tscrim
Copy link
Collaborator

tscrim commented Mar 9, 2014

Reviewer: Travis Scrimshaw

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

7 participants