source: git/libpolys/polys/monomials/maps.h @ 8e45403

spielwiese
Last change on this file since 8e45403 was 0cf29ee, checked in by Mohamed Barakat <mohamed.barakat@…>, 13 years ago
maps.{h,cc} are now hosted in polys/monomials
  • 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); //,matrix s=NULL);
19map maCopy(map theMap, ring dst_ring);
20
21ideal maGetPreimage(ring theImageRing, map theMap,ideal id);
22
23poly maIMap(ring src_ring, ring dst_ring, poly p);
24
25/*
26BOOLEAN maApplyFetch(int what,map theMap,leftv res, leftv w,
27                     ring preimage_r, int *perm,
28                     int *par_perm,int P, nMapFunc nMap);
29*/
30void maFindPerm(char **preim_names, int preim_n, char **preim_par, int preim_p,
31                char **names,       int n,       char **par,       int nop,
32                int * perm, int *par_perm, int ch);
33poly pSubstPoly(poly p, int var, poly image);
34ideal  idSubstPoly(ideal id, int n, poly e);
35
36poly pMinPolyNormalize(poly p);
37int maMaxDeg_P(poly p,ring preimage_r);
38int maMaxDeg_Ma(ideal a,ring preimage_r);
39#endif
Note: See TracBrowser for help on using the repository browser.