My Project
p_Mult_q.h
Go to the documentation of this file.
1 /****************************************
2 * Computer Algebra System SINGULAR *
3 ****************************************/
4 /***************************************************************
5  * File: p_Mult_q.h
6  * Purpose: declaration of some auxillary routines for
7  * p_Mult_q
8  * Author: obachman (Olaf Bachmann)
9  * Created: 8/00
10  *******************************************************************/
11 
12 #ifndef P_MULT_Q_H
13 #define P_MULT_Q_H
14 
15 #include "misc/auxiliary.h"
16 #include "polys/monomials/ring.h"
17 
18 // Use buckets if min(pLength(p), pLength(q)) >= MIN_LENGTH_BUCKET
19 // Not thoroughly tested what is best
20 #ifndef MIN_LENGTH_BUCKET
21 #define MIN_LENGTH_BUCKET 25
22 #endif
23 
24 /// return TRUE and lp == pLength(p), lq == pLength(q),
25 /// if min(pLength(p), pLength(q)) >= min
26 /// FALSE if min(pLength(p), pLength(q)) < min
27 /// and lp >= lq if pLength(p) >= pLength(lq)
28 /// lp < lq if pLength(p) < pLength(q)
29 BOOLEAN pqLength(poly p, poly q, int &lp, int &lq, const int min);
30 
31 #endif // P_MULT_Q_H
All the auxiliary stuff.
int BOOLEAN
Definition: auxiliary.h:87
int p
Definition: cfModGcd.cc:4080
static int min(int a, int b)
Definition: fast_mult.cc:268
Definition: lq.h:40
BOOLEAN pqLength(poly p, poly q, int &lp, int &lq, const int min)
return TRUE and lp == pLength(p), lq == pLength(q), if min(pLength(p), pLength(q)) >= min FALSE if mi...
Definition: p_Mult_q.cc:31