Changeset 0cf29ee in git


Ignore:
Timestamp:
Feb 16, 2011, 4:22:21 PM (13 years ago)
Author:
Mohamed Barakat <mohamed.barakat@…>
Branches:
(u'spielwiese', 'fe61d9c35bf7c61f2b6cbf1b56e25e2f08d536cc')
Children:
d462535ac6e821fdd77c91e13ffbdaac08fbaf0f
Parents:
7f2454a32a75b41620e04b7d1659bc49777346ec
git-author:
Mohamed Barakat <mohamed.barakat@rwth-aachen.de>2011-02-16 16:22:21+01:00
git-committer:
Mohamed Barakat <mohamed.barakat@rwth-aachen.de>2011-11-09 11:59:29+01:00
Message:
maps.{h,cc} are now hosted in polys/monomials
Files:
3 edited
2 moved

Legend:

Unmodified
Added
Removed
  • kernel/structs.h

    r7f2454a r0cf29ee  
    110110typedef struct snumber *   number;
    111111typedef number (*numberfunc)(number a,number b);
    112 typedef number (*nMapFunc)(number a);
    113112
    114113/* C++-part */
     
    140139// forward for ideals.h:
    141140struct sip_sideal;
    142 struct sip_smap;
    143 typedef struct sip_smap *         map;
    144141typedef struct sip_sideal *       ideal;
    145142
  • libpolys/polys/Makefile.am

    r7f2454a r0cf29ee  
    99
    1010SOURCES = \
    11         monomials/monomials.cc monomials/p_polys.cc monomials/ring.cc \
     11        monomials/monomials.cc monomials/p_polys.cc monomials/ring.cc monomials/maps.cc \
    1212        pDebug.cc pInline0.cc \
    1313        operations/pShallowCopyDelete.cc operations/p_Mult_q.cc \
     
    2626        templates/p_Numbers.h templates/p_Procs.h \
    2727        templates/p_Procs_Dynamic.h templates/p_Procs_Impl.h templates/p_Procs_Set.h templates/p_Procs_Static.h \
    28         monomials/p_polys.h monomials/polys-impl.h polys.h prCopy.h prCopyMacros.h \
     28        monomials/p_polys.h monomials/polys-impl.h monomials/maps.h polys.h prCopy.h prCopyMacros.h \
    2929        sbuckets.h simpleideals.h
    3030
  • libpolys/polys/monomials/maps.h

    r7f2454a r0cf29ee  
    88* ABSTRACT - the mapping of polynomials to other rings
    99*/
    10 #include <kernel/structs.h>
    11 #include <kernel/ideals.h>
     10#include <coeffs/coeffs.h>
     11#include <polys/monomials/ring.h>
     12//#include <kernel/ideals.h>
    1213
    13 poly maEval(map theMap, poly p, ring preimage_r, nMapFunc nMap,matrix s=NULL);
    14 map maCopy(map theMap);
     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);
    1520
    1621ideal maGetPreimage(ring theImageRing, map theMap,ideal id);
    1722
    18 poly maIMap(ring r, poly p);
     23poly maIMap(ring src_ring, ring dst_ring, poly p);
    1924
     25/*
    2026BOOLEAN maApplyFetch(int what,map theMap,leftv res, leftv w,
    2127                     ring preimage_r, int *perm,
    2228                     int *par_perm,int P, nMapFunc nMap);
     29*/
    2330void maFindPerm(char **preim_names, int preim_n, char **preim_par, int preim_p,
    2431                char **names,       int n,       char **par,       int nop,
  • libpolys/polys/monomials/ring.cc

    r7f2454a r0cf29ee  
    2626// #include <???/ideals.h>
    2727#include <polys/monomials/ring.h>
     28#include <polys/monomials/maps.h>
    2829#include <polys/prCopy.h>
    2930// #include "../Singular/ipshell.h"
Note: See TracChangeset for help on using the changeset viewer.