#include "kernel/mod2.h"
#include "gms.h"
#include "coeffs/numbers.h"
#include "kernel/polys.h"
#include "ipid.h"
Go to the source code of this file.
◆ gmsNF() [1/2]
lists gmsNF |
( |
ideal |
p, |
|
|
ideal |
g, |
|
|
matrix |
B, |
|
|
int |
D, |
|
|
int |
K |
|
) |
| |
Definition at line 22 of file gms.cc.
23{
26
32
34 {
36 {
40
42 {
48 {
55 }
57 }
58 else
59 {
64 }
65
67 {
69 do
70 {
76 }
77
79 }
80
83 }
86
89
92
97
99}
#define idDelete(H)
delete an ideal
matrix mpNew(int r, int c)
create a r x c zero-matrix
#define MATELEM(mat, i, j)
1-based access to matrix
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 pLmDivisibleBy(a, b)
like pDivisibleBy, except that it is assumed that a!=NULL, b!=NULL
#define pGetExp(p, i)
Exponent.
ideal idInit(int idsize, int rank)
initialise an ideal / module
void id_Normalize(ideal I, const ring r)
normialize all polys in id
◆ gmsNF() [2/2]
Definition at line 102 of file gms.cc.
103{
105 {
107 {
108 ideal
p=(ideal)
h->CopyD();
111 {
112 ideal
g=(ideal)
h->Data();
115 {
119 {
120 int D=(int)(
long)
h->Data();
123 {
124 int K=(int)(
long)
h->Data();
128 }
129 }
130 }
131 }
132 }
133 WerrorS(
"<ideal>,<ideal>,<matrix>,<int>,<int> expected");
135 }
138}
void WerrorS(const char *s)
lists gmsNF(ideal p, ideal g, matrix B, int D, int K)