[sage-devel] Re: a cython program (elements_in_linear_span)

2008-09-24 Thread cesarnda
ok, I'm willing to contribute the code under GPL V2+ (or a compatible license) to the Sage library, but I would like to know more about the doctests and the potentailly documentation to be added. On Sep 24, 5:34 am, "John Cremona" <[EMAIL PROTECTED]> wrote: > span and submodule are defined for fr

[sage-devel] Re: a cython program (elements_in_linear_span)

2008-09-24 Thread John Cremona
span and submodule are defined for free modules over a PID only. Perhaps there definition could be moved up to FreeModule_generic. There could still be special code for PIDs, for example the part which echelonises bases. I don't know what the equivalent of an echelonised basis is for modules over

[sage-devel] Re: a cython program (elements_in_linear_span)

2008-09-24 Thread David Joyner
On Wed, Sep 24, 2008 at 3:27 AM, mabshoff <[EMAIL PROTECTED]> wrote: > > On Sep 24, 12:16 am, cesarnda <[EMAIL PROTECTED]> wrote: > > Hi, > >> I have coded a program in cython called "elements_in_linear_span" that >> generates a set of codewords from a matrix (a matrix space must be >> defined) ov

[sage-devel] Re: a cython program (elements_in_linear_span)

2008-09-24 Thread mabshoff
On Sep 24, 12:16 am, cesarnda <[EMAIL PROTECTED]> wrote: Hi, > I have coded a program in cython called "elements_in_linear_span" that > generates a set of codewords from a matrix (a matrix space must be > defined) over a ring of intergers. This function almost does what > Magma does with: > > >