source: git/Singular/maps_ip.h @ 6cc7f5

spielwiese
Last change on this file since 6cc7f5 was 6cc7f5, checked in by Burcin Erocal <burcin@…>, 13 years ago
Convert Singular/ipshell.cc to libpolys (not done).
  • Property mode set to 100644
File size: 1.0 KB
Line 
1#ifndef MAPS_IP_H
2#define MAPS_IP_H
3/****************************************
4*  Computer Algebra System SINGULAR     *
5****************************************/
6/* $Id$ */
7/*
8* ABSTRACT - the mapping of polynomials to other rings
9*/
10
11#include <misc/auxiliary.h>
12#include <polys/matpol.h>
13
14#include <kernel/structs.h>
15#include <kernel/ideals.h>
16#include <polys/polys.h>
17
18poly pSubstPoly(poly p, int var, poly image);
19poly pSubstPar(poly p, int par, poly image);
20ideal  idSubstPoly(ideal id, int n, poly e);
21ideal  idSubstPar(ideal id, int n, poly e);
22
23
24/*
25* maps the expression w to res,
26* switch what: MAP_CMD: use theMap for mapping, N for preimage ring
27*              //FETCH_CMD: use pOrdPoly for mapping
28*              IMAP_CMD: use perm for mapping, N for preimage ring
29*              default: map only poly-structures,
30*                       use perm and par_perm, N and P,
31*/
32BOOLEAN maApplyFetch(int what,map theMap,leftv res, leftv w, ring preimage_r,
33                     int *perm, int *par_perm, int P, nMapFunc nMap);
34#endif
Note: See TracBrowser for help on using the repository browser.