Changeset 4bbe3b in git
- Timestamp:
- Dec 8, 2003, 6:31:02 PM (20 years ago)
- Branches:
- (u'spielwiese', '91fdef05f09f54b8d58d92a472e9c4a43aa4656f')
- Children:
- 76b84f5bfd7c384f5c7a94ccf6a2de3f89981093
- Parents:
- c14061bb051b9d471f072e6f16e14485a8bd0f5f
- Location:
- kernel
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/Makefile.in
rc14061 r4bbe3b 25 25 # includes are taken from here 26 26 includedir = @includedir@ 27 slibdir = ${prefix}/LIB28 27 install_bindir = ${install_prefix}/${SINGUNAME} 29 install_slibdir = ${install_prefix}/LIB30 28 31 29 ## … … 98 96 CXXSOURCES=algmap.cc clapconv.cc \ 99 97 clapsing.cc mminit.cc\ 100 febase.cc feread.cc fe help.cc feResource.cc \98 febase.cc feread.cc feResource.cc \ 101 99 ffields.cc hdegree.cc hilb.cc hutil.cc \ 102 100 gring.cc gr_kstd2.cc\ … … 125 123 126 124 127 # stuff for dbm128 DBMSR_SOURCES = ndbm.cc sing_dbm.cc129 130 125 # normal C source files 131 126 CSOURCES=weight0.c fegetopt.c fereadl.c dError.c mmstd.c … … 142 137 143 138 # C++ sources for which both, shared and static object files are needed 144 COMMON_SOURCES = $(MPSR_SOURCES) $(DBMSR_SOURCES)139 COMMON_SOURCES = $(MPSR_SOURCES) 145 140 146 141 # special C++ source files (need extra compiling and/or linking), for which … … 174 169 kstdfac.h mpsr_Get.h kmatrix.h\ 175 170 kutil.h mpsr_Put.h\ 176 ndbm.hdbm_sl.h polys-impl.h \171 dbm_sl.h polys-impl.h \ 177 172 GMPrat.h multicnt.h npolygon.h semic.h spectrum.h splist.h multicnt.h \ 178 173 eigenval.h units.h mod_raw.h kbuckets.h sbuckets.h\ … … 201 196 ifeq ($(DL_KERNEL),1) 202 197 OBJS := $(OBJS) $(DL_KERNEL_SOURCES:.cc=.o) 203 DBMSR_SO= dbmsr.so 204 DL_LIBS := $(P_PROCS_MODULES:%=p_Procs_%.so) $(DBMSR_SO) 198 DL_LIBS := $(P_PROCS_MODULES:%=p_Procs_%.so) 205 199 else 206 200 ifndef LD_STATIC … … 298 292 $(LD) ${SLDFLAGS} -o $@ $^ -L${libdir} ${MP_LIBS} 299 293 300 dbmsr.so: $(DBMSR_SOURCES:.cc=.dl_o)301 $(LD) ${SLDFLAGS} -o $@ $^302 303 ifeq ($(SINGUNAME),ix86-Win)304 ##305 ## windows only targets306 ##307 308 ## resources309 Singular.rc: Singular.rc.in config.status310 CONFIG_FILES="Singular.rc" CONFIG_HEADERS= ./config.status311 312 ESingular_res.o: Singular.rc313 windres -DESINGULAR -i Singular.rc -o ESingular_res.o314 315 TSingular_res.o: Singular.rc316 windres -DTSINGULAR -i Singular.rc -o TSingular_res.o317 318 Singular_res.o: Singular.rc319 windres -DSINGULAR -i Singular.rc -o Singular_res.o320 321 ## run322 run.o: run.c run.h323 gcc -c -I. -O2 run.c -o run.o324 325 runTSingular : run.o TSingular_res.o326 gcc -mwindows -e _mainCRTStartup run.o TSingular_res.o -o runTSingular.exe327 328 runESingular : run.o ESingular_res.o329 gcc -mwindows -e _mainCRTStartup run.o ESingular_res.o -o runESingular.exe330 331 RUN_SINGULARS=runESingular runTSingular332 333 endif334 335 294 ## 336 295 ## install targets 337 296 ## 338 install: all installbin installslib339 340 installbin: ${ SING_EXEC} ESingular TSingular ${RUN_SINGULARS}297 install: all installbin 298 299 installbin: ${DL_LIBS} 341 300 ${MKINSTALLDIRS} ${bindir} 342 ${INSTALL_PROGRAM} ${SING_EXEC} ${SINGULAR} 343 ${INSTALL_PROGRAM} libparse ${RUN_SINGULARS} ${bindir} 344 ${INSTALL_PROGRAM} ESingular TSingular ${DL_LIBS} ${bindir} 345 chmod a+x ${SINGULAR}${EXEC_EXT} 346 rm -f ${bindir}/${SING_EXEC}${EXEC_EXT} 347 cd ${bindir}; ${LN_S} ${SINGULAR} Singular${EXEC_EXT}; 348 349 installslib: LIB 350 test -r ${slibdir} || ${LN_S} `pwd`/LIB ${slibdir} 351 352 353 uninstall: uninstallbin 354 355 uninstallbin: 356 rm -f ${bindir}/Singular${EXEC_EXT} 357 rm -f ${SINGULAR} 358 -rmdir ${bindir} 301 ${INSTALL_PROGRAM} ${DL_LIBS} ${bindir} 302 ${INSTALL_PROGRAM} ${DL_LIBS} ../Singular 359 303 360 304 ## … … 362 306 ## 363 307 mostlyclean: 364 -rm -f Singular Singular-static Singulara feOpt*.inc p_Procs_*.inc 365 -rm -f *.o *.og core *.op *.ob *.ot Singulart *.od *_d.cc *_d.c p_Procs *.oa *.dl_o* *.so* 366 -rm -f ESingular* TSingular* 308 -rm -f p_Procs_*.inc 309 -rm -f *.o *.og core *.op *.ob *.ot *.od *_d.cc *_d.c p_Procs *.oa *.dl_o* *.so* 367 310 368 311 clean: mostlyclean 369 312 -rm -f *.bak *.d *.dd depend 370 -rm -f ${slibdir}371 313 372 314 distclean: clean … … 392 334 echo "#define MAKE_DISTRIBUTION " > distrib.h 393 335 sleep 1 394 ${MAKE} ${SING_EXEC} ESingular TSingular libparse ${RUN_SINGULARS}395 336 ${MKINSTALLDIRS} ${install_bindir} 396 337 ${INSTALL_PROGRAM} -s ${SING_EXEC} ${install_bindir}/Singular 397 ${INSTALL_PROGRAM} -s libparse ${RUN_SINGULARS} ESingular TSingular${DL_LIBS} ${install_bindir}338 ${INSTALL_PROGRAM} -s libparse ${RUN_SINGULARS} ${DL_LIBS} ${install_bindir} 398 339 echo "#undef MAKE_DISTRIBUTION " > distrib.h 399 400 install-sharedist: ${SLIBS_FILES} LIB/gftables401 ${MKINSTALLDIRS} ${install_slibdir}402 cp ${SLIBS_FILES} ${install_slibdir}403 ${MKINSTALLDIRS} ${install_slibdir}/gftables404 cp ${GFTABLES} ${install_slibdir}/gftables405 chmod -R +rX ${install_slibdir}/*406 340 407 341 tar: … … 462 396 463 397 OBJG := $(OBJG) $(DL_KERNEL_SOURCES:.cc=.og) 464 DL_LIBSG := $(P_PROCS_MODULES:%=p_Procs_%.sog) $(MPSR_SO:%.so=%.sog) $(DBMSR_SO:%.so=%.sog)398 DL_LIBSG := $(P_PROCS_MODULES:%=p_Procs_%.sog) $(MPSR_SO:%.so=%.sog) 465 399 466 400 OBJP := $(OBJP) $(DL_KERNEL_SOURCES:.cc=.op) 467 DL_LIBSP := $(P_PROCS_MODULES:%=p_Procs_%.sop) $(MPSR_SO:%.so=%.sop) $(DBMSR_SO:%.so=%.sop)401 DL_LIBSP := $(P_PROCS_MODULES:%=p_Procs_%.sop) $(MPSR_SO:%.so=%.sop) 468 402 469 403 OBJB := $(OBJB) $(DL_KERNEL_SOURCES:.cc=.ob) 470 DL_LIBSB := $(P_PROCS_MODULES:%=p_Procs_%.sob) $(MPSR_SO:%.so=%.sob) $(DBMSR_SO:%.so=%.sob)404 DL_LIBSB := $(P_PROCS_MODULES:%=p_Procs_%.sob) $(MPSR_SO:%.so=%.sob) 471 405 472 406 OBJT := $(OBJT) $(DL_KERNEL_SOURCES:.cc=.ot) 473 DL_LIBST := $(P_PROCS_MODULES:%=p_Procs_%.sot) $(MPSR_SO:%.so=%.sot) $(DBMSR_SO:%.so=%.sot)407 DL_LIBST := $(P_PROCS_MODULES:%=p_Procs_%.sot) $(MPSR_SO:%.so=%.sot) 474 408 475 409 OBJA := $(OBJA) $(DL_KERNEL_SOURCES:.cc=.oa) 476 DL_LIBSA := $(P_PROCS_MODULES:%=p_Procs_%.soa) $(MPSR_SO:%.so=%.soa) $(DBMSR_SO:%.so=%.soa)410 DL_LIBSA := $(P_PROCS_MODULES:%=p_Procs_%.soa) $(MPSR_SO:%.so=%.soa) 477 411 478 412 else … … 524 458 525 459 mpsr.sog: $(MPSR_SOURCES:.cc=.dl_og) 526 ${CXXG} ${CXXFLAGSG} ${SFLAGS} ${SLDFLAGS} ${LDFLAGS} -o $@ $^ ${MP_LIBS}527 528 dbmsr.sog: $(DBMSR_SOURCES:.cc=.dl_og)529 460 ${CXXG} ${CXXFLAGSG} ${SFLAGS} ${SLDFLAGS} ${LDFLAGS} -o $@ $^ ${MP_LIBS} 530 461 … … 591 522 ${CXXP} ${CXXFLAGSP} ${SFLAGS} ${SLDFLAGS} ${LDFLAGS} -o $@ $^ ${MP_LIBS} 592 523 593 dbmsr.sop: $(DBMSR_SOURCES:.cc=.dl_op)594 ${CXXP} ${CXXFLAGSP} ${SFLAGS} ${SLDFLAGS} ${LDFLAGS} -o $@ $^ ${MP_LIBS}595 596 524 claptmpl.op: claptmpl.cc mod2.h 597 525 $(CXXP) ${CXXFLAGSP} ${CPPFLAGS} ${DEFSP} -c $< -o $@ … … 629 557 ${CXXP} ${CXXFLAGSB} ${SFLAGS} ${SLDFLAGS} ${LDFLAGS} -o $@ $^ ${MP_LIBS} 630 558 631 dbmsr.sob: $(DBMSR_SOURCES:.cc=.dl_ob)632 ${CXXP} ${CXXFLAGSB} ${SFLAGS} ${SLDFLAGS} ${LDFLAGS} -o $@ $^ ${MP_LIBS}633 634 559 claptmpl.ob: claptmpl.cc mod2.h 635 560 $(CXXP) ${CXXFLAGSP} ${CPPFLAGS} ${DEFSB} -c $< -o $@ … … 666 591 mpsr.sot: $(MPSR_SOURCES:.cc=.dl_ot) 667 592 ${CXXP} ${CXXFLAGST} ${SFLAGS} ${SLDFLAGS} ${LDFLAGS} -o $@ $^ ${MP_LIBS} 668 669 dbmsr.sot: $(DBMSR_SOURCES:.cc=.dl_ot)670 ${CXX} ${CXXFLAGST} ${SFLAGS} ${SLDFLAGS} ${LDFLAGS} -o $@ $^ ${MP_LIBS}671 593 672 594 claptmpl.ot: claptmpl.cc mod2.h … … 709 631 mpsr.soa: $(MPSR_SOURCES:.cc=.dl_oa) 710 632 ${CXX} ${CXXFLAGSA} ${SFLAGS} ${SLDFLAGS} ${LDFLAGS} -o $@ $^ ${MP_LIBS} 711 712 dbmsr.soa: $(DBMSR_SOURCES:.cc=.dl_oa)713 ${CXX} ${CXXFLAGSA} ${SFLAGS} ${SLDFLAGS} ${LDFLAGS} -o $@ $^ ${MP_LIBS}714 715 633 716 634 claptmpl.oa: claptmpl.cc mod2.h -
kernel/gr_kstd2.cc
rc14061 r4bbe3b 2 2 * Computer Algebra System SINGULAR * 3 3 ****************************************/ 4 /* $Id: gr_kstd2.cc,v 1. 1.1.1 2003-10-06 12:15:53Singular Exp $ */4 /* $Id: gr_kstd2.cc,v 1.2 2003-12-08 17:31:01 Singular Exp $ */ 5 5 /* 6 6 * ABSTRACT - Kernel: noncomm. alg. of Buchberger … … 19 19 #include "cntrlc.h" 20 20 #include "weight.h" 21 #include "ipid.h"22 #include "ipshell.h"23 21 #include "intvec.h" 24 #include " tok.h"22 #include "structs.h" 25 23 #include "gring.h" 26 24 … … 77 75 wrp(strat->S[j]); 78 76 } 79 (*h).p = nc_ spGSpolyRed(strat->S[j],(*h).p, NULL, currRing);77 (*h).p = nc_ReduceSpoly(strat->S[j],(*h).p, NULL, currRing); 80 78 //spSpolyRed(strat->T[j].p,(*h).p,strat->kNoether); 81 79 … … 152 150 * and the case of a degree-ordering 153 151 */ 154 static int redHomog (LObject* h,kStrategy strat)152 static int nc_redHomog (LObject* h,kStrategy strat) 155 153 { 156 154 if (strat->tl<0) … … 179 177 } 180 178 /*- compute the s-polynomial -*/ 181 (*h).p = nc_ spGSpolyRed(strat->S[j],(*h).p,strat->kNoether,currRing);179 (*h).p = nc_ReduceSpoly(strat->S[j],(*h).p,strat->kNoether,currRing); 182 180 if ((*h).p == NULL) 183 181 { … … 216 214 * and the case of a degree-ordering 217 215 */ 218 static int redHomog0 (LObject* h,kStrategy strat)216 static int nc_redHomog0 (LObject* h,kStrategy strat) 219 217 { 220 218 if (strat->tl<0) … … 244 242 } 245 243 /*- compute the s-polynomial -*/ 246 (*h).p = nc_ spGSpolyRed(strat->T[j].p,(*h).p,strat->kNoether,currRing);244 (*h).p = nc_ReduceSpoly(strat->T[j].p,(*h).p,strat->kNoether,currRing); 247 245 if ((*h).p == NULL) 248 246 { … … 289 287 * and not a degree-ordering 290 288 */ 291 static int redLazy (LObject* h,kStrategy strat)289 static int nc_redLazy (LObject* h,kStrategy strat) 292 290 { 293 291 if (strat->tl<0) … … 319 317 } 320 318 /*- compute the s-polynomial -*/ 321 (*h).p = nc_ spGSpolyRed(strat->S[j],(*h).p,strat->kNoether,currRing);319 (*h).p = nc_ReduceSpoly(strat->S[j],(*h).p,strat->kNoether,currRing); 322 320 if ((*h).p == NULL) 323 321 { … … 399 397 * element in T with respect to the given ecart 400 398 */ 401 static int redHoney (LObject* h,kStrategy strat)399 static int nc_redHoney (LObject* h,kStrategy strat) 402 400 { 403 401 if (strat->tl<0) … … 482 480 { 483 481 strat->fromT=FALSE; 484 (*h).p = nc_ spGSpolyRedNew(pi,(*h).p,strat->kNoether,currRing);482 (*h).p = nc_ReduceSpolyNew(pi,(*h).p,strat->kNoether,currRing); 485 483 } 486 484 else 487 (*h).p = nc_ spGSpolyRed(pi,(*h).p,strat->kNoether,currRing);485 (*h).p = nc_ReduceSpoly(pi,(*h).p,strat->kNoether,currRing); 488 486 if (TEST_OPT_DEBUG) 489 487 { … … 576 574 * reduces with elements from T and chooses the best possible 577 575 */ 578 static int redBest (LObject* h,kStrategy strat)576 static int nc_redBest (LObject* h,kStrategy strat) 579 577 { 580 578 if (strat->tl<0) … … 607 605 else 608 606 #endif 609 p = nc_ spShort(strat->T[j].p,(*h).p);607 p = nc_CreateShortSpoly(strat->T[j].p,(*h).p); 610 608 /* computes only the first monomial of the spoly */ 611 609 if (p) … … 631 629 else 632 630 #endif 633 ph = nc_ spShort(strat->T[j].p,(*h).p);631 ph = nc_CreateShortSpoly(strat->T[j].p,(*h).p); 634 632 if (ph==NULL) 635 633 { … … 657 655 } 658 656 pLmFree(p); 659 (*h).p = nc_ spGSpolyRed(strat->T[jbest].p,(*h).p,strat->kNoether,currRing);657 (*h).p = nc_ReduceSpoly(strat->T[jbest].p,(*h).p,strat->kNoether,currRing); 660 658 } 661 659 else … … 734 732 strat->enterS = enterSBba; 735 733 if ((BTEST1(20)) && (!strat->honey)) 736 strat->red = redBest;734 strat->red = nc_redBest; 737 735 else if (strat->honey) 738 strat->red = redHoney;736 strat->red = nc_redHoney; 739 737 else if (pLexOrder && !strat->homog) 740 strat->red = redLazy;738 strat->red = nc_redLazy; 741 739 else if (TEST_OPT_INTSTRATEGY && strat->homog) 742 strat->red = redHomog0;740 strat->red = nc_redHomog0; 743 741 else 744 strat->red = redHomog;742 strat->red = nc_redHomog; 745 743 if (rIsPluralRing(currRing)) 746 744 { … … 761 759 if ((TEST_OPT_WEIGHTM)&&(F!=NULL)) 762 760 { 763 //interred machen Aenderung764 pFDegOld=pFDeg;765 pLDegOld=pLDeg;766 h=ggetid("ecart");767 if ((h!=NULL) && (IDTYP(h)==INTVEC_CMD))768 {769 ecartWeights=iv2array(IDINTVEC(h));770 }771 else761 //interred machen Aenderung 762 pFDegOld=pFDeg; 763 pLDegOld=pLDeg; 764 // h=ggetid("ecart"); 765 // if ((h!=NULL) && (IDTYP(h)==INTVEC_CMD)) 766 // { 767 // ecartWeights=iv2array(IDINTVEC(h)); 768 // } 769 // else 772 770 { 773 771 ecartWeights=(short *)omAlloc((pVariables+1)*sizeof(short)); … … 833 831 { 834 832 strat->cp++; 835 /* prod.crit itself in nc_ spGSpolyCreate*/836 } 837 strat->P.p = nc_ spGSpolyCreate(strat->P.p1,strat->P.p2,strat->kNoether,currRing);833 /* prod.crit itself in nc_CreateSpoly */ 834 } 835 strat->P.p = nc_CreateSpoly(strat->P.p1,strat->P.p2,strat->kNoether,currRing); 838 836 } 839 837 if (strat->P.p != NULL) -
kernel/gring.cc
rc14061 r4bbe3b 7 7 * Author: levandov (Viktor Levandovsky) 8 8 * Created: 8/00 - 11/00 9 * Version: $Id: gring.cc,v 1. 1.1.1 2003-10-06 12:15:54Singular Exp $9 * Version: $Id: gring.cc,v 1.2 2003-12-08 17:31:02 Singular Exp $ 10 10 *******************************************************************/ 11 11 #include "mod2.h" … … 22 22 #include "sbuckets.h" 23 23 #include "prCopy.h" 24 #include "ipid.h"25 24 #include "p_Mult_q.h" 26 25 … … 776 775 int cMTsize=r->nc->MTsize[vik]; 777 776 int newcMTsize=0; 778 newcMTsize= max(a,b);777 newcMTsize=si_max(a,b); 779 778 780 779 if (newcMTsize<=cMTsize) … … 1017 1016 */ 1018 1017 1019 poly nc_ spGSpolyRed(poly p1, poly p2,poly spNoether, const ring r)1018 poly nc_ReduceSpoly(poly p1, poly p2,poly spNoether, const ring r) 1020 1019 { 1021 1020 if (p_GetComp(p1,r)!=p_GetComp(p2,r) … … 1024 1023 { 1025 1024 #ifdef PDEBUG 1026 Print("nc_ spGSpolyRed: different components");1025 Print("nc_ReduceSpoly: different components"); 1027 1026 #endif 1028 1027 return(NULL); … … 1038 1037 number C=n_Copy(p_GetCoeff(N,r),r); 1039 1038 number cF=n_Copy(p_GetCoeff(p2,r),r); 1039 /* GCD stuff */ 1040 number cG = nGcd(C,cF,r); 1041 if (!nEqual(cG,n_Init(1,r))) 1042 { 1043 cF = nDiv(cF,cG); 1044 C = nDiv(C,cG); 1045 } 1040 1046 p2=p_Mult_nn(p2,C,r); 1041 1047 poly out = nc_mm_Mult_p(m, p_Copy(pNext(p1),r), r); … … 1048 1054 } 1049 1055 out=p_Add_q(p2,N,r); 1056 if (out!=NULL) pContent(out); 1050 1057 p_Delete(&m,r); 1051 1058 n_Delete(&cF,r); … … 1061 1068 * p1 divides p2 -> for use in NF algorithm 1062 1069 */ 1063 poly nc_ spGSpolyRedNew(poly p1, poly p2,poly spNoether, const ring r)1064 { 1065 return(nc_ spGSpolyRed(p1,p_Copy(p2,r),spNoether,r));1070 poly nc_ReduceSpolyNew(poly p1, poly p2,poly spNoether, const ring r) 1071 { 1072 return(nc_ReduceSpoly(p1,p_Copy(p2,r),spNoether,r)); 1066 1073 } 1067 1074 … … 1070 1077 * do not destroy p1 and p2 1071 1078 */ 1072 poly nc_ spGSpolyCreate(poly p1, poly p2,poly spNoether, const ring r)1079 poly nc_CreateSpoly(poly p1, poly p2,poly spNoether, const ring r) 1073 1080 { 1074 1081 if ((p_GetComp(p1,r)!=p_GetComp(p2,r)) … … 1077 1084 { 1078 1085 #ifdef PDEBUG 1079 Print("nc_ spGSpolyCreate: different components!");1086 Print("nc_CreateSpoly : different components!"); 1080 1087 #endif 1081 1088 return(NULL); … … 1107 1114 p_Delete(&pL,r); 1108 1115 /* zero exponents ! */ 1109 poly M1=nc_mm_Mult_p(m1,p_Head(p1,r),r); 1110 number C1=n_Copy(p_GetCoeff(M1,r),r); 1111 poly M2=nc_mm_Mult_p(m2,p_Head(p2,r),r); 1112 number C2=n_Copy(p_GetCoeff(M2,r),r); 1116 poly M1 = nc_mm_Mult_p(m1,p_Head(p1,r),r); 1117 number C1 = n_Copy(p_GetCoeff(M1,r),r); 1118 poly M2 = nc_mm_Mult_p(m2,p_Head(p2,r),r); 1119 number C2 = n_Copy(p_GetCoeff(M2,r),r); 1120 /* GCD stuff */ 1121 number C = nGcd(C1,C2,r); 1122 if (!nEqual(C,n_Init(1,r))) 1123 { 1124 C1=nDiv(C1,C); 1125 C2=nDiv(C2,C); 1126 } 1113 1127 M1=p_Mult_nn(M1,C2,r); 1114 1128 p_SetCoeff(m1,C2,r); … … 1142 1156 p_Test(M2,r); 1143 1157 #endif 1158 if (M2!=NULL) pContent(M2); 1144 1159 return(M2); 1145 1160 } … … 1150 1165 * do not destroy p1, but tail(q) 1151 1166 */ 1152 void nc_ spGSpolyRedTail(poly p1, poly q, poly q2, poly spNoether, const ring r)1167 void nc_ReduceSpolyTail(poly p1, poly q, poly q2, poly spNoether, const ring r) 1153 1168 { 1154 1169 poly a1=p_Head(p1,r); … … 1187 1202 * do not destroy p1 and p2 1188 1203 */ 1189 poly nc_ spShort(poly p1, poly p2, const ring r)1204 poly nc_CreateShortSpoly(poly p1, poly p2, const ring r) 1190 1205 { 1191 1206 if (p_GetComp(p1,r)!=p_GetComp(p2,r)) … … 1445 1460 q = nc_p_Mult_mm(pCopy(p),varj,currRing); 1446 1461 pDelete(&varj); 1447 q = nc_ spGSpolyRed(p,q,NULL,currRing);1462 q = nc_ReduceSpoly(p,q,NULL,currRing); 1448 1463 q = kNF(J,currQuotient,q,0,0); 1449 1464 if (q!=NULL) -
kernel/kutil.cc
rc14061 r4bbe3b 2 2 * Computer Algebra System SINGULAR * 3 3 ****************************************/ 4 /* $Id: kutil.cc,v 1. 1.1.1 2003-10-06 12:15:54Singular Exp $ */4 /* $Id: kutil.cc,v 1.2 2003-12-08 17:31:02 Singular Exp $ */ 5 5 /* 6 6 * ABSTRACT: kernel: utils for kStd … … 1153 1153 Lp.p = nc_p_Bracket_qq(pCopy(p),strat->S[i]); 1154 1154 } 1155 else Lp.p = nc_ spGSpolyCreate(strat->S[i],p,NULL,currRing);1155 else Lp.p = nc_CreateSpoly(strat->S[i],p,NULL,currRing); 1156 1156 } 1157 1157 else
Note: See TracChangeset
for help on using the changeset viewer.