source: git/Singular/spSpolyLoop.h @ 18255d

spielwiese
Last change on this file since 18255d was 18255d, checked in by Olaf Bachmann <obachman@…>, 26 years ago
1998-03-18 Olaf Bachmann <obachman@mathematik.uni-kl.de> * Cleaned up COMP_FAST and related #defines almost everywhere git-svn-id: file:///usr/local/Singular/svn/trunk@1255 2c84dea3-7e68-4137-9b89-c4e89433aadc
  • Property mode set to 100644
File size: 1.0 KB
Line 
1#ifndef SPSPOLYLOOP_H
2#define SPSPOLYLOOP_H
3
4// throw this out, as soon as we got rid off COMP_FAST
5#include "polys-impl.h"
6typedef void (*spSpolyLoopProc)(poly p1, poly p2, poly m, poly spNoether);
7
8#ifdef COMP_FAST
9#include "structs.h"
10#include "ring.h"
11#include "kutil.h"
12
13/*
14 * assume m = L(m)
15 * pNext(m) = result = a2-a1*m
16 * do not destroy a1, but a2
17 */
18
19spSpolyLoopProc spGetSpolyLoop(ring r, rOrderType_t ot, BOOLEAN homog);
20void spSpolyLoop_General (poly a1, poly a2, poly monom, poly spNoether);
21
22inline spSpolyLoopProc spGetSpolyLoop(ring r, int modrank, int syzComp, 
23                                      BOOLEAN homog)
24{
25  return spGetSpolyLoop(r, spGetOrderType(r, modrank, syzComp), homog);
26}
27
28inline spSpolyLoopProc spGetSpolyLoop(ring r, kStrategy strat)
29{
30  return spGetSpolyLoop(r, spGetOrderType(r, strat), 
31                        (strat->homog && strat->ak == 0));
32}
33
34inline spSpolyLoopProc spGetSpolyLoop(ring r)
35{
36  return spGetSpolyLoop(r, rGetOrderType(r), FALSE);
37}
38
39#endif
40
41
42#endif // SPSPOLYLOOP_H
Note: See TracBrowser for help on using the repository browser.