My Project
Loading...
Searching...
No Matches
p_Procs.h
Go to the documentation of this file.
1/****************************************
2* Computer Algebra System SINGULAR *
3****************************************/
4
5/***************************************************************
6 * File: pProcs.h
7 * Purpose: declaration of primitive procs for polys
8 * Author: obachman (Olaf Bachmann)
9 * Created: 8/00
10 *******************************************************************/
11#ifndef P_PROCS_H
12#define P_PROCS_H
13
15
16/*------------- p_Proc stuff ----------------------*/
17typedef poly (*p_Copy_Proc_Ptr)(poly p, const ring r);
18typedef void (*p_Delete_Proc_Ptr)(poly *p, const ring r);
19typedef poly (*p_ShallowCopyDelete_Proc_Ptr)(poly p, const ring r, omBin dest_bin);
20typedef poly (*p_Mult_nn_Proc_Ptr)(poly p, const number n, const ring r);
21typedef poly (*pp_Mult_nn_Proc_Ptr)(poly p, const number n, const ring r);
22typedef poly (*p_Mult_mm_Proc_Ptr)(poly p, const poly m, const ring r);
23typedef poly (*pp_Mult_mm_Proc_Ptr)(poly p, const poly m, const ring r);
24typedef poly (*pp_Mult_mm_Noether_Proc_Ptr)(poly p, const poly m,
25 const poly spNoether, int &ll,
26 const ring r);
27typedef poly (*p_Add_q_Proc_Ptr)(poly p, poly q, int & shorter, const ring r);
28typedef poly (*p_Minus_mm_Mult_qq_Proc_Ptr)(poly p, poly m, poly q,
29 int &shorter, const poly spNoether,
30 const ring r);
31typedef poly (*p_Neg_Proc_Ptr)(poly p, const ring r);
32typedef poly (*pp_Mult_Coeff_mm_DivSelect_Proc_Ptr)(poly p, const poly m,
33 int &shorter,const ring r);
35 (poly p,const poly m, const poly a, const poly b, int &shorter,const ring r);
36
37typedef poly (*p_Merge_q_Proc_Ptr)(poly p, poly q, const ring r);
38typedef void (*p_kBucketSetLm_Proc_Ptr)(kBucket_pt bucket);
39
40typedef struct p_Procs_s
41{
59} pProcs_s;
60
61
62void p_ProcsSet(ring r, p_Procs_s* p_Procs);
63#ifdef RDEBUG
64void p_Debug_GetSpecNames(const ring r, const char* &field, const char* &length,
65 const char* &ord);
66void p_Debug_GetProcNames(const ring r, p_Procs_s* p_Procs);
67#endif
68// if set, then dynamic p_procs are used, otherwise static
69extern const BOOLEAN p_procs_dynamic;
70
71#endif /* ! P_PROCS_H */
int BOOLEAN
Definition: auxiliary.h:87
int m
Definition: cfEzgcd.cc:128
int p
Definition: cfModGcd.cc:4078
CanonicalForm b
Definition: cfModGcd.cc:4103
static BOOLEAN length(leftv result, leftv arg)
Definition: interval.cc:257
omBin_t * omBin
Definition: omStructs.h:12
poly(* p_Merge_q_Proc_Ptr)(poly p, poly q, const ring r)
Definition: p_Procs.h:37
poly(* p_Add_q_Proc_Ptr)(poly p, poly q, int &shorter, const ring r)
Definition: p_Procs.h:27
pp_Mult_Coeff_mm_DivSelect_Proc_Ptr pp_Mult_Coeff_mm_DivSelect
Definition: p_Procs.h:55
p_Neg_Proc_Ptr p_Neg
Definition: p_Procs.h:54
p_Mult_mm_Proc_Ptr p_Mult_mm
Definition: p_Procs.h:50
void(* p_kBucketSetLm_Proc_Ptr)(kBucket_pt bucket)
Definition: p_Procs.h:38
poly(* p_ShallowCopyDelete_Proc_Ptr)(poly p, const ring r, omBin dest_bin)
Definition: p_Procs.h:19
pp_Mult_Coeff_mm_DivSelectMult_Proc_Ptr pp_Mult_Coeff_mm_DivSelectMult
Definition: p_Procs.h:56
poly(* p_Mult_nn_Proc_Ptr)(poly p, const number n, const ring r)
Definition: p_Procs.h:20
p_Merge_q_Proc_Ptr p_Merge_q
Definition: p_Procs.h:57
poly(* p_Mult_mm_Proc_Ptr)(poly p, const poly m, const ring r)
Definition: p_Procs.h:22
p_Mult_mm_Proc_Ptr p_mm_Mult
Definition: p_Procs.h:51
poly(* p_Neg_Proc_Ptr)(poly p, const ring r)
Definition: p_Procs.h:31
p_Minus_mm_Mult_qq_Proc_Ptr p_Minus_mm_Mult_qq
Definition: p_Procs.h:53
poly(* p_Minus_mm_Mult_qq_Proc_Ptr)(poly p, poly m, poly q, int &shorter, const poly spNoether, const ring r)
Definition: p_Procs.h:28
poly(* pp_Mult_Coeff_mm_DivSelect_Proc_Ptr)(poly p, const poly m, int &shorter, const ring r)
Definition: p_Procs.h:32
void p_ProcsSet(ring r, p_Procs_s *p_Procs)
Definition: p_Procs_Set.h:141
poly(* pp_Mult_nn_Proc_Ptr)(poly p, const number n, const ring r)
Definition: p_Procs.h:21
p_Add_q_Proc_Ptr p_Add_q
Definition: p_Procs.h:52
poly(* pp_Mult_mm_Proc_Ptr)(poly p, const poly m, const ring r)
Definition: p_Procs.h:23
p_ShallowCopyDelete_Proc_Ptr p_ShallowCopyDelete
Definition: p_Procs.h:44
p_Delete_Proc_Ptr p_Delete
Definition: p_Procs.h:43
p_Copy_Proc_Ptr p_Copy
Definition: p_Procs.h:42
pp_Mult_nn_Proc_Ptr pp_Mult_nn
Definition: p_Procs.h:46
poly(* pp_Mult_mm_Noether_Proc_Ptr)(poly p, const poly m, const poly spNoether, int &ll, const ring r)
Definition: p_Procs.h:24
p_kBucketSetLm_Proc_Ptr p_kBucketSetLm
Definition: p_Procs.h:58
void p_Debug_GetProcNames(const ring r, p_Procs_s *p_Procs)
Definition: p_Procs_Set.h:232
void p_Debug_GetSpecNames(const ring r, const char *&field, const char *&length, const char *&ord)
Definition: p_Procs_Set.h:221
pp_Mult_mm_Noether_Proc_Ptr pp_Mult_mm_Noether
Definition: p_Procs.h:49
poly(* p_Copy_Proc_Ptr)(poly p, const ring r)
Definition: p_Procs.h:17
pp_Mult_mm_Proc_Ptr pp_Mult_mm
Definition: p_Procs.h:47
const BOOLEAN p_procs_dynamic
p_Mult_nn_Proc_Ptr p_Mult_nn
Definition: p_Procs.h:45
pp_Mult_mm_Proc_Ptr pp_mm_Mult
Definition: p_Procs.h:48
poly(* pp_Mult_Coeff_mm_DivSelectMult_Proc_Ptr)(poly p, const poly m, const poly a, const poly b, int &shorter, const ring r)
Definition: p_Procs.h:35
void(* p_Delete_Proc_Ptr)(poly *p, const ring r)
Definition: p_Procs.h:18
struct p_Procs_s p_Procs_s
Definition: ring.h:23