#12103: Use MeatAxe as an optional back end for dense matrices over `GF(p^n)`, p
odd, n>1, `p^n<255`
-------------------------------------+-------------------------------------
       Reporter:  SimonKing          |        Owner:  jason, was
           Type:  defect             |       Status:  needs_work
       Priority:  major              |    Milestone:  sage-6.4
      Component:  packages:          |   Resolution:
  experimental                       |    Merged in:
       Keywords:  linear algebra,    |    Reviewers:
  MeatAxe                            |  Work issues:
        Authors:  Simon King         |       Commit:
Report Upstream:  None of the above  |  6c324700abeb37c3e32ebf36c7cf9027c8e70588
  - read trac for reasoning.         |     Stopgaps:
         Branch:                     |
  u/SimonKing/meataxe                |
   Dependencies:  #9562 #4260        |
-------------------------------------+-------------------------------------

Comment (by SimonKing):

 Recent changes:

 - Since we want to wrap the code, it is needed to make the meataxe header
 available.
 - I found that packages are supposed to give a file called "type". I
 declare there that the package is supposed to be optional.
 - Since we move libmtx.a from a temporary location to somewhere in
 SAGE_LOCAL, it is needed to use "-fPIC".
 - The multiplication tables shouldn't pollute the user's current
 directory. I propose to store them in SAGE_SHARE/meataxe/.
 - !MeatAxe has IO-functions that accept an argument saying that the file
 is a library file---but in the IO-functions, it is always first looked
 into the current directory, and the library location is only considered if
 the current directory didn't work.
 - In at least one function, the IO-argument for "library files" is used
 wrongly. So, after fixing the IO-function, the wrong argument needed to be
 fixed, too.

 In meataxe/patches is a patch that fixes these two upstream bugs.

 Current status:

 - The package builds fine.
 - When running the testsuite, I sometimes see a wrong checksum, but when I
 repeat the testsuite, everything is fine. I guess upstream's checksum
 function is fragile. Not sure if I'm going to fix that.
 - With the Cython wrapper on my laptop, I can create !MeatAxe matrices in
 a Sage session, and the current directory is not polluted by
 multiplication tables.

 TODO:

 - Finish the Cython wrapper.

--
Ticket URL: <http://trac.sagemath.org/ticket/12103#comment:40>
Sage <http://www.sagemath.org>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica, 
and MATLAB

-- 
You received this message because you are subscribed to the Google Groups 
"sage-trac" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/sage-trac.
For more options, visit https://groups.google.com/d/optout.

Reply via email to