source: git/libpolys/polys/monomials/maps.h @ 5d5d79

spielwiese
Last change on this file since 5d5d79 was 5c71ae1, checked in by Oleksandr Motsak <motsak@…>, 13 years ago
FIX: maEval takes the destination ring CHG: minor cleanup
  • Property mode set to 100644
File size: 1.1 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
18// poly maEval(map theMap, poly p, ring dst_ring, nMapFunc nMap, ideal s=NULL);
19poly maEval(map theMap, poly p,ring preimage_r,nMapFunc nMap, ideal s, const ring dst_r);
20
21map maCopy(map theMap, const ring dst_ring);
22
23poly maIMap(ring src_ring, ring dst_ring, poly p);
24
25void maFindPerm(char **preim_names, int preim_n, char **preim_par, int preim_p,
26                char **names,       int n,       char **par,       int nop,
27                int * perm, int *par_perm, n_coeffType ch);
28poly pSubstPoly(poly p, int var, poly image);
29ideal  idSubstPoly(ideal id, int n, poly e);
30
31poly p_MinPolyNormalize(poly p, const ring r);
32int maMaxDeg_P(poly p,ring preimage_r);
33int maMaxDeg_Ma(ideal a,ring preimage_r);
34#endif
Note: See TracBrowser for help on using the repository browser.