Changeset 147b6d in git


Ignore:
Timestamp:
Dec 3, 2012, 4:12:45 PM (11 years ago)
Author:
Martin Lee <martinlee84@…>
Branches:
(u'fieker-DuVal', '117eb8c30fc9e991c4decca4832b1d19036c4c65')(u'spielwiese', 'b4f17ed1d25f93d46dbe29e4b499baecc2fd51bb')
Children:
22002e1d9c2f5400230ae871fcff511606690bd1
Parents:
05c3b87378ab3e8310b306f10a0eec4bd579ca9c
git-author:
Martin Lee <martinlee84@web.de>2012-12-03 16:12:45+01:00
git-committer:
Martin Lee <martinlee84@web.de>2012-12-03 16:47:10+01:00
Message:
chg: FLINT interface to nmod_mat_rref
File:
1 edited

Legend:

Unmodified
Added
Removed
  • factory/cf_gcd_smallp.cc

    r05c3b87 r147b6d  
    20002000  nmod_mat_t FLINTN;
    20012001  convertFacCFMatrix2nmod_mat_t (FLINTN, *N);
    2002   long* dummy= new long [M.rows()];
    2003   for (int i= 0; i < M.rows(); i++)
    2004     dummy[i]= 0;
    2005   long rk= nmod_mat_rref (dummy, FLINTN);
     2002  long rk= nmod_mat_rref (FLINTN);
    20062003
    20072004  N= convertNmod_mat_t2FacCFMatrix (FLINTN);
    20082005  nmod_mat_clear (FLINTN);
    2009   delete dummy;
    20102006#else
    20112007  int p= getCharacteristic ();
     
    20832079  nmod_mat_t FLINTN;
    20842080  convertFacCFMatrix2nmod_mat_t (FLINTN, *N);
    2085   long* dummy= new long [M.rows()];
    2086   for (int i= 0; i < M.rows(); i++)
    2087     dummy[i]= 0;
    2088   long rk= nmod_mat_rref (dummy, FLINTN);
     2081  long rk= nmod_mat_rref (FLINTN);
    20892082#else
    20902083  int p= getCharacteristic ();
     
    21012094#ifdef HAVE_FLINT
    21022095    nmod_mat_clear (FLINTN);
    2103     delete dummy;
    21042096#endif
    21052097    delete N;
     
    21092101  N= convertNmod_mat_t2FacCFMatrix (FLINTN);
    21102102  nmod_mat_clear (FLINTN);
    2111   delete dummy;
    21122103#else
    21132104  N= convertNTLmat_zz_p2FacCFMatrix (*NTLN);
Note: See TracChangeset for help on using the changeset viewer.