Changeset 647b762 in git
 Timestamp:
 Feb 17, 2020, 10:08:41 AM (4 years ago)
 Branches:
 (u'fiekerDuVal', '117eb8c30fc9e991c4decca4832b1d19036c4c65')(u'spielwiese', 'c7af8613769b29c741d6c338945669719f1fc4f8')
 Children:
 f051930c5ecfb853e0c8fdfb602c026c3727ddf9
 Parents:
 4e2bcee68a92d9f12978b9eb139f7470a4460b6e
 Location:
 libpolys
 Files:

 3 edited
Legend:
 Unmodified
 Added
 Removed

libpolys/coeffs/modulop.h
r4e2bce r647b762 29 29 #define NV_MAX_PRIME 32749 30 30 #define FACTORY_MAX_PRIME 536870909 31 32 #ifdef USE_NTL_XGCD33 // in ntl.a34 extern void XGCD(long& d, long& s, long& t, long a, long b);35 #endif36 31 37 32 struct n_Procs_s; typedef struct n_Procs_s *coeffs; … … 187 182 long s, t; 188 183 189 #ifdef USE_NTL_XGCD190 long d;191 XGCD(d, s, t, a, R>ch);192 assume (d == 1);193 #else194 184 long u, v, u0, v0, u1, u2, q, r; 195 185 … … 198 188 u = a; v = R>ch; 199 189 200 while (v != 0)190 do 201 191 { 202 192 q = u / v; … … 208 198 u2 = u1  q*u2; 209 199 u1 = u0; 210 } 200 } while (v != 0); 211 201 212 202 assume(u==1); 213 203 s = u1; 214 #endif215 204 #ifdef HAVE_GENERIC_ADD 216 205 if (s < 0) 
libpolys/libpolys.pc.in
r4e2bce r647b762 13 13 14 14 Cflags: I${includedir} I${includedir}/singular @SINGULAR_CFLAGS@ @FLINT_CFLAGS@ @GMP_CPPFLAGS@ 15 Libs: L${libdir} lpolys @FLINT_LIBS@ @ NTL_LIBS@ @GMP_LIBS@ @USEPPROCSDYNAMICLD@15 Libs: L${libdir} lpolys @FLINT_LIBS@ @GMP_LIBS@ @USEPPROCSDYNAMICLD@ 16 16 Libs.private: 17 17 
libpolys/polys/clapsing.cc
r4e2bce r647b762 1763 1763 } 1764 1764 1765 #ifdef HAVE_NTL 1765 #ifdef HAVE_NTL /*define derived from factory*/ 1766 1766 matrix singntl_HNF(matrix m, const ring s ) 1767 1767 {
Note: See TracChangeset
for help on using the changeset viewer.