 |
My Project
debian-1:4.1.2-p1+ds-2
|
Go to the source code of this file.
|
Poly * | FindMinList (jList *) |
|
void | DestroyTree (NodeM *) |
|
NodeM * | create () |
|
void | ControlProlong (Poly *) |
|
Poly * | is_div_ (TreeM *root, poly item) |
|
void | insert_ (TreeM **tree, Poly *item) |
|
Poly * | NewPoly (poly p=NULL) |
|
void | DestroyPoly () |
|
void | NFL (Poly *, TreeM *) |
|
void | PNF (Poly *, TreeM *) |
|
void | ClearProl (Poly *x, int i) |
|
void | InitProl (Poly *p) |
|
void | InitHistory (Poly *p) |
|
Poly * | is_present (jList *, poly) |
|
int | GetMult (Poly *, int) |
|
int | GB_length () |
|
void | InsertInList (jList *, Poly *) |
|
void | ForEachPNF (jList *, int) |
|
void | ClearMult (Poly *, int) |
|
void | ProlVar (Poly *, int) |
|
void | SetMult (Poly *, int) |
|
void | InitLead (Poly *) |
|
void | InsertInCount (jList *, Poly *) |
|
int | GetProl (Poly *, int) |
|
void | SetProl (Poly *, int) |
|
int | ProlCompare (Poly *, Poly *) |
|
int | ValidatePoly (Poly *, TreeM *) |
|
int | ListGreatMoveDegree (jList *, jList *, poly) |
|
int | ListGreatMoveOrder (jList *, jList *, poly) |
|
void | ForEachControlProlong (jList *) |
|
void | NFListQ () |
|
int | CountList (jList *) |
|
void | DestroyList (jList *) |
|
int | ReducePoly (Poly *x, Poly *y) |
|
int | ReducePolyLead (Poly *x, Poly *y) |
|
void | Define (TreeM **G) |
|
ListNode * | CreateListNode (Poly *x) |
|
void | DestroyListNode (ListNode *x) |
|
void | DestroyFreeNodes () |
|
int | ComputeBasis (jList *, jList *) |
|
void | Initialization (char *) |
|
◆ jList
◆ GCF
◆ GCM
◆ GCMA
◆ ListNode
#define ListNode struct LISTNODE |
◆ NodeM
#define NodeM struct NODEM |
◆ TreeM
#define TreeM struct TREEM |
◆ LCI
◆ LI
◆ poly_function
typedef void(* poly_function) (Poly *) |
◆ ClearMult()
void ClearMult |
( |
Poly * |
, |
|
|
int |
|
|
) |
| |
◆ ClearProl()
void ClearProl |
( |
Poly * |
x, |
|
|
int |
i |
|
) |
| |
◆ ComputeBasis()
◆ ControlProlong()
void ControlProlong |
( |
Poly * |
| ) |
|
◆ CountList()
int CountList |
( |
jList * |
| ) |
|
◆ create()
◆ CreateListNode()
◆ Define()
void Define |
( |
TreeM ** |
G | ) |
|
◆ DestroyFreeNodes()
void DestroyFreeNodes |
( |
| ) |
|
◆ DestroyList()
void DestroyList |
( |
jList * |
| ) |
|
◆ DestroyListNode()
◆ DestroyPoly()
◆ DestroyTree()
void DestroyTree |
( |
NodeM * |
| ) |
|
◆ FindMinList()
Definition at line 517 of file janet.cc.
526 while ((*
min) && ((*min)->info->root ==
NULL))
536 if ((*l)->info->root !=
NULL)
◆ ForEachControlProlong()
void ForEachControlProlong |
( |
jList * |
| ) |
|
◆ ForEachPNF()
void ForEachPNF |
( |
jList * |
, |
|
|
int |
|
|
) |
| |
◆ GB_length()
Definition at line 740 of file janet.cc.
747 if (
pow_(iT->info->lead) ==
pow_(iT->info->history))
◆ GetMult()
int GetMult |
( |
Poly * |
, |
|
|
int |
|
|
) |
| |
◆ GetProl()
int GetProl |
( |
Poly * |
, |
|
|
int |
|
|
) |
| |
◆ InitHistory()
void InitHistory |
( |
Poly * |
p | ) |
|
◆ Initialization()
void Initialization |
( |
char * |
| ) |
|
Definition at line 952 of file janet.cc.
955 if (strstr(Ord,
"dp\0") || strstr(Ord,
"Dp\0"))
◆ InitLead()
◆ InitProl()
void InitProl |
( |
Poly * |
p | ) |
|
◆ insert_()
Definition at line 912 of file janet.cc.
915 NodeM *curr=(*tree)->root;
917 for ( ; (i_con>=0) && !
pGetExp(item->
root,i_con+1) ; i_con--)
920 for (
i = 0;
i<= i_con;
i++)
942 if (!curr->right) curr->right=
create();
◆ InsertInCount()
◆ InsertInList()
◆ is_div_()
Definition at line 853 of file janet.cc.
856 NodeM *curr=tree->root;
858 if (!curr)
return NULL;
861 for ( ; i_con>=0 && !
pGetExp(item,i_con+1) ; i_con--)
864 for (
i=0;
i <= i_con ;
i++)
870 if (curr->ended)
return curr->ended;
883 if (curr->ended)
return curr->ended;
885 if (!curr->right)
return NULL;
890 if (curr->ended)
return curr->ended;
◆ is_present()
◆ ListGreatMoveDegree()
int ListGreatMoveDegree |
( |
jList * |
, |
|
|
jList * |
, |
|
|
poly |
|
|
) |
| |
Definition at line 599 of file janet.cc.
604 if (!
y ||
pow_(
y->info->lead) <= pow_x)
return 0;
606 while(
y &&
pow_(
y->info->lead) > pow_x)
◆ ListGreatMoveOrder()
int ListGreatMoveOrder |
( |
jList * |
, |
|
|
jList * |
, |
|
|
poly |
|
|
) |
| |
◆ NewPoly()
◆ NFL()
Definition at line 187 of file janet.cc.
194 int pX=
pow_(
p->lead);
195 int phX=
pow_(
p->history);
199 int phF=
pow_(
f->history);
233 int pF=
pow_(
f->lead);
235 if ((pX == pF) && (pF == phF))
238 if (
p->history!=
NULL)
◆ NFListQ()
Definition at line 631 of file janet.cc.
647 int ploc=
pow_(ll->info->lead);
648 if (ploc <
p)
p=ploc;
659 int ploc=
pow_((*l)->info->lead);
671 (*l)->info->changed=0;
675 if (!(*l)->info->root)
◆ PNF()
◆ ProlCompare()
Definition at line 463 of file janet.cc.
465 switch(
pLmCmp(item1->lead,item2->lead))
474 if ((item1->root_l<=0)||(item2->root_l<=0))
476 return item1->root_l<=item2->root_l;
◆ ProlVar()
void ProlVar |
( |
Poly * |
, |
|
|
int |
|
|
) |
| |
◆ ReducePoly()
◆ ReducePolyLead()
int ReducePolyLead |
( |
Poly * |
x, |
|
|
Poly * |
y |
|
) |
| |
Definition at line 74 of file janet.cc.
76 if (!
x->root || !
y->root)
◆ SetMult()
void SetMult |
( |
Poly * |
, |
|
|
int |
|
|
) |
| |
◆ SetProl()
void SetProl |
( |
Poly * |
, |
|
|
int |
|
|
) |
| |
◆ ValidatePoly()
Definition at line 299 of file janet.cc.
304 if (
x->root)
return 1;
◆ ended
◆ ListNode
Initial value:
Definition at line 29 of file janet.h.
◆ next
◆ NodeM
Initial value:
Definition at line 40 of file janet.h.
◆ TreeM
Initial value:
Definition at line 46 of file janet.h.
void DestroyPoly(Poly *x)
void ClearProl(Poly *x, int i)
int ReducePoly(Poly *x, poly from, Poly *y)
#define pIsConstant(p)
like above, except that Comp must be 0
static void pLmFree(poly p)
frees the space of the monomial m, assumes m != NULL coef is not freed, m is not advanced
Poly * is_present(jList *F, poly x)
const CanonicalForm int const CFList const Variable & y
void InsertInList(jList *x, Poly *y)
void ForEachPNF(jList *x, int i)
#define pGetExp(p, i)
Exponent.
number kBucketPolyRed(kBucket_pt bucket, poly p1, int l1, poly spNoether)
int GetProl(Poly *x, int i)
const poly kBucketGetLm(kBucket_pt bucket)
void p_SimpleContent(poly ph, int smax, const ring r)
void InsertInCount(jList *x, Poly *y)
void InitHistory(Poly *p)
static unsigned pLength(poly a)
void SetMult(Poly *x, int i)
void DestroyTree(NodeM *G)
void ForEachControlProlong(jList *x)
Poly * is_div_upper(poly item, NodeM *x, int from)
void PNF(Poly *p, TreeM *F)
void kBucketDestroy(kBucket_pt *bucket_pt)
STATIC_VAR int(* ListGreatMove)(jList *, jList *, poly)
void kBucketInit(kBucket_pt bucket, poly lm, int length)
void NFL(Poly *p, TreeM *F)
int LengthCompare(poly p1, poly p2)
void SetProl(Poly *x, int i)
int ListGreatMoveDegree(jList *A, jList *B, poly x)
STATIC_VAR int degree_compatible
void kBucketClear(kBucket_pt bucket, poly *p, int *length)
void ProlVar(Poly *temp, int i)
STATIC_VAR NodeM * FreeNodes
KINLINE poly ksOldSpolyRed(poly p1, poly p2, poly spNoether)
void ClearMult(Poly *x, int i)
#define pLmInit(p)
like pInit, except that expvector is initialized to that of p, p must be != NULL
void DestroyListNode(ListNode *x)
ListNode * CreateListNode(Poly *x)
void p_ContentForGB(poly ph, const ring r)
long p_Deg(poly a, const ring r)
static void ClearMultiplicative(NodeM *xx, int i)
static int min(int a, int b)
static poly p_Copy_noCheck(poly p, const ring r)
returns a copy of p (without any additional testing)
Poly * FindMinList(jList *L)
Poly * is_div_(TreeM *tree, poly item)
void ControlProlong(Poly *x)
void insert_(TreeM **tree, Poly *item)
int ReducePolyLead(Poly *x, Poly *y)
int ProlCompare(Poly *item1, Poly *item2)
static long p_Totaldegree(poly p, const ring r)
kBucket_pt kBucketCreate(const ring bucket_ring)
Creation/Destruction of buckets.
VAR ring currRing
Widely used global variable which specifies the current polynomial ring for Singular interpreter and ...
#define pLmCmp(p, q)
returns 0|1|-1 if p=q|p>q|p<q w.r.t monomial ordering
int status int void size_t count
int GetMult(Poly *x, int i)
int ListGreatMoveOrder(jList *A, jList *B, poly x)
#define pCopy(p)
return a copy of the poly
static number & pGetCoeff(poly p)
return an alias to the leading coefficient of p assumes that p != NULL NOTE: not copy
int ValidatePoly(Poly *x, TreeM *)
const ExtensionInfo & info
< [in] sqrfree poly