Hi,

in a cython project of mine, I need to do some intensive work on
arrays and then use these list in a matrix product. Doing the
intensive work on the arrays goes smoothly when using C arrays (using
malloc). Afterwards I convert the C array to a python list and I
construct a matrix over GF(2) from this array so I can use Sage's
quick GF(2) matrix multiplication. I need to do this several times and
it seems that constructing a matrix from a list is slowing everything
down.

I want to combine my algorithm to do a transformation on an array with
the possibility to do a matrix multiplication with the list I got from
this algorithm. Is calling matrix(GF(2), x, z, list) the best way to
do this? I find it very slow...

Thanks
--~--~---------~--~----~------------~-------~--~----~
To post to this group, send email to sage-support@googlegroups.com
To unsubscribe from this group, send email to 
sage-support-unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/sage-support
URLs: http://www.sagemath.org
-~----------~----~----~----~------~----~------~--~---

Reply via email to