[35aab3] | 1 | #ifndef MAPS_H |
---|
| 2 | #define MAPS_H |
---|
| 3 | /**************************************** |
---|
| 4 | * Computer Algebra System SINGULAR * |
---|
| 5 | ****************************************/ |
---|
[508937] | 6 | /* $Id: maps.h,v 1.2 2007-02-07 18:28:25 Singular Exp $ */ |
---|
[35aab3] | 7 | /* |
---|
| 8 | * ABSTRACT - the mapping of polynomials to other rings |
---|
| 9 | */ |
---|
| 10 | #include "structs.h" |
---|
[508937] | 11 | typedef ip_smap * map; |
---|
[35aab3] | 12 | |
---|
| 13 | poly maEval(map theMap, poly p, ring preimage_r, nMapFunc nMap,matrix s=NULL); |
---|
| 14 | map maCopy(map theMap); |
---|
| 15 | |
---|
| 16 | ideal maGetPreimage(ring theImageRing, map theMap,ideal id); |
---|
| 17 | |
---|
| 18 | poly maIMap(ring r, poly p); |
---|
| 19 | |
---|
| 20 | BOOLEAN maApplyFetch(int what,map theMap,leftv res, leftv w, |
---|
| 21 | ring preimage_r, int *perm, |
---|
| 22 | int *par_perm,int P, nMapFunc nMap); |
---|
| 23 | void maFindPerm(char **preim_names, int preim_n, char **preim_par, int preim_p, |
---|
| 24 | char **names, int n, char **par, int nop, |
---|
| 25 | int * perm, int *par_perm, int ch); |
---|
| 26 | poly pSubstPoly(poly p, int var, poly image); |
---|
| 27 | ideal idSubstPoly(ideal id, int n, poly e); |
---|
| 28 | |
---|
| 29 | poly pMinPolyNormalize(poly p); |
---|
| 30 | int maMaxDeg_P(poly p,ring preimage_r); |
---|
| 31 | int maMaxDeg_Ma(ideal a,ring preimage_r); |
---|
| 32 | #endif |
---|