1 | #ifndef MAPS_IP_H |
---|
2 | #define MAPS_IP_H |
---|
3 | /**************************************** |
---|
4 | * Computer Algebra System SINGULAR * |
---|
5 | ****************************************/ |
---|
6 | /* |
---|
7 | * ABSTRACT - the mapping of polynomials to other rings |
---|
8 | */ |
---|
9 | |
---|
10 | #include <misc/auxiliary.h> |
---|
11 | #include <polys/matpol.h> |
---|
12 | |
---|
13 | #include <kernel/structs.h> |
---|
14 | #include <kernel/ideals.h> |
---|
15 | #include <kernel/polys.h> |
---|
16 | |
---|
17 | poly pSubstPoly(poly p, int var, poly image); |
---|
18 | poly pSubstPar(poly p, int par, poly image); |
---|
19 | ideal idSubstPoly(ideal id, int n, poly e); |
---|
20 | ideal idSubstPar(ideal id, int n, poly e); |
---|
21 | |
---|
22 | |
---|
23 | /* |
---|
24 | * maps the expression w to res, |
---|
25 | * switch what: MAP_CMD: use theMap for mapping, N for preimage ring |
---|
26 | * //FETCH_CMD: use pOrdPoly for mapping |
---|
27 | * IMAP_CMD: use perm for mapping, N for preimage ring |
---|
28 | * default: map only poly-structures, |
---|
29 | * use perm and par_perm, N and P, |
---|
30 | */ |
---|
31 | BOOLEAN maApplyFetch(int what,map theMap,leftv res, leftv w, ring preimage_r, |
---|
32 | int *perm, int *par_perm, int P, nMapFunc nMap); |
---|
33 | #endif |
---|