/usr/include/singular/singular/Singular/maps_ip.h is in libsingular4-dev-common 1:4.1.0-p3+ds-2build1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 | #ifndef MAPS_IP_H
#define MAPS_IP_H
/****************************************
* Computer Algebra System SINGULAR *
****************************************/
/*
* ABSTRACT - the mapping of polynomials to other rings
*/
#include <kernel/mod2.h>
#include <polys/matpol.h>
#include <kernel/structs.h>
#include <kernel/ideals.h>
#include <kernel/polys.h>
poly pSubstPoly(poly p, int var, poly image);
poly pSubstPar(poly p, int par, poly image);
ideal idSubstPoly(ideal id, int n, poly e);
ideal idSubstPar(ideal id, int n, poly e);
/*
* maps the expression w to res,
* switch what: MAP_CMD: use theMap for mapping, N for preimage ring
* //FETCH_CMD: use pOrdPoly for mapping
* IMAP_CMD: use perm for mapping, N for preimage ring
* default: map only poly-structures,
* use perm and par_perm, N and P,
*/
BOOLEAN maApplyFetch(int what,map theMap,leftv res, leftv w, ring preimage_r,
int *perm, int *par_perm, int P, nMapFunc nMap);
#endif
|