libpolys
polys
operations
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
17
struct
spolyrec
;
typedef
struct
spolyrec
polyrec;
typedef
polyrec*
poly
;
18
19
// Use buckets if min(pLength(p), pLength(q)) >= MIN_LENGTH_BUCKET
20
// Not thoroughly tested what is best
21
#ifndef MIN_LENGTH_BUCKET
22
#define MIN_LENGTH_BUCKET 10
23
#endif
24
25
// return TRUE and lp == pLength(p), lq == pLength(q),
26
// if min(pLength(p), pLength(q)) >= min
27
// FALSE if min(pLength(p), pLength(q)) < min
28
// and lp >= lq if pLength(p) >= pLength(lq)
29
// lp < lq if pLength(p) < pLength(q)
30
BOOLEAN
pqLength
(
poly
p
,
poly
q,
int
&lp,
int
&lq,
const
int
min
);
31
32
#endif // P_MULT_Q_H
min
static int min(int a, int b)
Definition:
fast_mult.cc:268
p
return P p
Definition:
myNF.cc:203
pqLength
BOOLEAN pqLength(poly p, poly q, int &lp, int &lq, const int min)
Definition:
p_Mult_q.cc:27
auxiliary.h
All the auxiliary stuff.
spolyrec
Definition:
monomials.h:29
poly
polyrec * poly
Definition:
p_Mult_q.h:17
poly
polyrec * poly
Definition:
hilb.h:10
BOOLEAN
int BOOLEAN
Definition:
auxiliary.h:85
Generated on Sun Jun 11 2017 02:35:30 by
doxygen 1.8.13
for
Singular UNKNOWN_GIT_VERSION