spielwiese
Last change
on this file since 36ff0ee was
f003a9,
checked in by Olaf Bachmann <obachman@…>, 26 years ago
|
* polys-impl.cc, polys.cc: No COMP_FAST any more
* Makefile.in: Introduced variable PERL, set by configure
* kstdfac.cc (kStratCopy): kModW iv is not copied, but just the
pointer is set
1998-03-18 Olaf Bachmann <obachman@mathematik.uni-kl.de>
* Makefile.in: added Singularb target for bprof
* polys-impl.h, polys-comp.h: Cleaned up COMP_FAST and related
#defines
1998-03-16 Olaf Bachmann <obachman@mathematik.uni-kl.de>
* polys-impl.h: no #define COMP_FAST
* configure.in,Makefile.in: check for flex -P; increased version
number to 1.1.7
git-svn-id: file:///usr/local/Singular/svn/trunk@1268 2c84dea3-7e68-4137-9b89-c4e89433aadc
|
-
Property mode set to
100644
|
File size:
993 bytes
|
Line | |
---|
1 | #ifndef SPSPOLYLOOP_H |
---|
2 | #define SPSPOLYLOOP_H |
---|
3 | |
---|
4 | #include "structs.h" |
---|
5 | #include "ring.h" |
---|
6 | #include "kutil.h" |
---|
7 | |
---|
8 | /* |
---|
9 | * assume monom = L(monom) |
---|
10 | * pNext(m) = result = p2-p1*m |
---|
11 | * do not destroy p1, but p2 |
---|
12 | */ |
---|
13 | void spSpolyLoop_General (poly a1, poly a2, poly monom, poly spNoether); |
---|
14 | typedef void (*spSpolyLoopProc)(poly p1, poly p2, poly m, poly spNoether); |
---|
15 | |
---|
16 | |
---|
17 | spSpolyLoopProc spGetSpolyLoop(ring r, rOrderType_t ot, BOOLEAN homog); |
---|
18 | |
---|
19 | inline spSpolyLoopProc spGetSpolyLoop(ring r, int modrank, int syzComp, |
---|
20 | BOOLEAN homog) |
---|
21 | { |
---|
22 | return spGetSpolyLoop(r, spGetOrderType(r, modrank, syzComp), homog); |
---|
23 | } |
---|
24 | |
---|
25 | inline spSpolyLoopProc spGetSpolyLoop(ring r, kStrategy strat) |
---|
26 | { |
---|
27 | return spGetSpolyLoop(r, spGetOrderType(r, strat), |
---|
28 | ((strat->homog && strat->kModW==NULL && |
---|
29 | ! rHasSimpleLexOrder(r)))); |
---|
30 | } |
---|
31 | |
---|
32 | inline spSpolyLoopProc spGetSpolyLoop(ring r) |
---|
33 | { |
---|
34 | return spGetSpolyLoop(r, rGetOrderType(r), FALSE); |
---|
35 | } |
---|
36 | |
---|
37 | #endif // SPSPOLYLOOP_H |
---|
Note: See
TracBrowser
for help on using the repository browser.