Changeset 75e126 in git


Ignore:
Timestamp:
Mar 10, 2017, 2:11:33 PM (7 years ago)
Author:
Hans Schoenemann <hannes@…>
Branches:
(u'spielwiese', '8e0ad00ce244dfd0756200662572aef8402f13d5')
Children:
471858f15b1d00cc5bed195345735cccfcb8e925
Parents:
fbe1e6100b3dfb4d80e80a3ac3213c679b614b52
Message:
code cleanup: sparsemat
Location:
libpolys/polys
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • libpolys/polys/sparsmat.cc

    rfbe1e6 r75e126  
    16091609
    16101610/* ----------------- arithmetic ------------------ */
     1611#ifdef OLD_DIV
    16111612/*2
    16121613* exact division a/b
     
    16651666  p_LmFree(dummy, R);
    16661667}
    1667 
     1668#endif
    16681669
    16691670//disable that, as it fails with coef buckets
     
    18861887  return res;
    18871888}
    1888 #endif
     1889#endif /*else X_MAS*/
     1890
    18891891/*n
    18901892* exact division a/b
     
    19011903  sm_ExactPolyDiv(a, b, R);
    19021904}
    1903 
    19041905
    19051906/* ------------ internals arithmetic ------------- */
  • libpolys/polys/sparsmat.h

    rfbe1e6 r75e126  
    1010
    1111
    12 poly sm_Mult(poly, poly, const ring);
    13 void sm_PolyDiv(poly, poly, const ring);
    1412poly sm_MultDiv(poly, poly, const poly, const ring);
    1513void sm_SpecialPolyDiv(poly, poly, const ring);
     14
    1615/* ----------------- macros ------------------ */
    1716/* #define OLD_DIV 1 */
    1817
    1918#ifdef OLD_DIV
    20 #define SM_MULT(A,B,C, R) sm_Mult(A,B,R)
     19void sm_PolyDiv(poly, poly, const ring);
     20#define SM_MULT(A,B,C, R) pp_Mult_qq(A,B,R)
    2121#define SM_DIV sm_PolyDiv
    2222#else
Note: See TracChangeset for help on using the changeset viewer.