source: git/libpolys/polys/monomials/maps.h @ 7ac612

spielwiese
Last change on this file since 7ac612 was 7ac612, checked in by Hans Schoenemann <hannes@…>, 13 years ago
cahnged: maFindPerm (uses cf->type instead of cf->ch)
  • Property mode set to 100644
File size: 1.2 KB
Line 
1#ifndef MAPS_H
2#define MAPS_H
3/****************************************
4*  Computer Algebra System SINGULAR     *
5****************************************/
6/* $Id$ */
7/*
8* ABSTRACT - the mapping of polynomials to other rings
9*/
10#include <coeffs/coeffs.h>
11#include <polys/monomials/ring.h>
12//#include <kernel/ideals.h>
13
14typedef number (*nMapFunc)(number a, coeffs src, coeffs dst);
15struct sip_smap;
16typedef struct sip_smap *         map;
17
18poly maEval(map theMap, poly p, ring dst_ring, nMapFunc nMap, ideal s=NULL);
19map maCopy(map theMap, const ring dst_ring);
20
21poly maIMap(ring src_ring, ring dst_ring, poly p);
22
23/*
24BOOLEAN maApplyFetch(int what,map theMap,leftv res, leftv w,
25                     ring preimage_r, int *perm,
26                     int *par_perm,int P, nMapFunc nMap);
27*/
28void maFindPerm(char **preim_names, int preim_n, char **preim_par, int preim_p,
29                char **names,       int n,       char **par,       int nop,
30                int * perm, int *par_perm, n_coeffType ch);
31poly pSubstPoly(poly p, int var, poly image);
32ideal  idSubstPoly(ideal id, int n, poly e);
33
34poly p_MinPolyNormalize(poly p, const ring r);
35int maMaxDeg_P(poly p,ring preimage_r);
36int maMaxDeg_Ma(ideal a,ring preimage_r);
37#endif
Note: See TracBrowser for help on using the repository browser.