238 if(r==dst_r)
return p_Copy(
p,dst_r);
240 int *perm=(
int *)
omAlloc0((r->N+1)*
sizeof(int));
244 perm,
NULL, dst_r->cf->type);
static int rPar(const ring r)
(r->cf->P)
#define omFreeSize(addr, size)
static short rVar(const ring r)
#define rVar(r) (r->N)
static char const ** rParameter(const ring r)
(r->cf->parameter)
static poly p_Copy(poly p, const ring r)
returns a copy of p
poly p_PermPoly(poly p, const int *perm, const ring oldRing, const ring dst, nMapFunc nMap, const int *par_perm, int OldPar, BOOLEAN use_mult)
number(* nMapFunc)(number a, const coeffs src, const coeffs dst)
maps "a", which lives in src, into dst
static FORCE_INLINE nMapFunc n_SetMap(const coeffs src, const coeffs dst)
set the mapping function pointers for translating numbers from src to dst
void maFindPerm(char const *const *const preim_names, int preim_n, char const *const *const preim_par, int preim_p, char const *const *const names, int n, char const *const *const par, int nop, int *perm, int *par_perm, n_coeffType ch)