Go to the source code of this file.
◆ redNF() [1/2]
Definition at line 18 of file units.cc.
19{
22 {
24 number u0;
26 {
30 }
31 }
35 {
37 {
42 else
44 }
47 }
53 return M0;
54}
const CanonicalForm CFMap CFMap & N
#define idDelete(H)
delete an ideal
poly kNF(ideal F, ideal Q, poly p, int syzComp, int lazyReduce)
matrix mp_Copy(matrix a, const ring r)
copies matrix a (from ring r to r)
#define MATELEM(mat, i, j)
1-based access to matrix
static number & pGetCoeff(poly p)
return an alias to the leading coefficient of p assumes that p != NULL NOTE: not copy
#define __p_Mult_nn(p, n, r)
VAR ring currRing
Widely used global variable which specifies the current polynomial ring for Singular interpreter and ...
#define pHead(p)
returns newly allocated copy of Lm(p), coef is copied, next=NULL, p might be NULL
#define pCopy(p)
return a copy of the poly
ideal idInit(int idsize, int rank)
initialise an ideal / module
int id_MinDegW(ideal M, intvec *w, const ring r)
static int idElem(const ideal F)
number of non-zero polys in F
◆ redNF() [2/2]
poly redNF |
( |
ideal |
N, |
|
|
poly |
p, |
|
|
poly |
u = NULL , |
|
|
int |
d = -1 , |
|
|
intvec * |
w = NULL |
|
) |
| |
Definition at line 56 of file units.cc.
57{
60 ideal M0;
63 else
64 {
69 }
70 poly p0=M0->m[0];
73 return p0;
74}
matrix mpNew(int r, int c)
create a r x c zero-matrix
#define pGetComp(p)
Component.
ideal redNF(ideal N, ideal M, matrix U, int d, intvec *w)