Changeset 5c71ae1 in git for Singular/maps_ip.cc
- Timestamp:
- Sep 9, 2011, 1:07:41 PM (13 years ago)
- Branches:
- (u'spielwiese', 'fe61d9c35bf7c61f2b6cbf1b56e25e2f08d536cc')
- Children:
- 9d5ba2ee7540ee4eb709cfef410629f44c00e75b
- Parents:
- f9dc437c7c53a9f0de7781af406334375bb16f36
- git-author:
- Oleksandr Motsak <motsak@mathematik.uni-kl.de>2011-09-09 13:07:41+02:00
- git-committer:
- Mohamed Barakat <mohamed.barakat@rwth-aachen.de>2011-11-09 16:12:38+01:00
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
Singular/maps_ip.cc
rf9dc437 r5c71ae1 8 8 9 9 #include <kernel/mod2.h> 10 #include <omalloc/omalloc.h> 11 12 #include <coeffs/numbers.h> 13 #include <coeffs/coeffs.h> 14 15 #include <polys/monomials/ring.h> 16 #include <polys/monomials/maps.h> 17 #include <polys/matpol.h> 18 #include <polys/prCopy.h> 19 20 //#include <libpolys/polys/ext_fields/longtrans.h> 21 // #include <kernel/longalg.h> 22 23 #include <kernel/febase.h> 24 #include <kernel/kstd1.h> 10 25 11 26 #include "maps_ip.h" 12 27 #include "ipid.h" 13 28 14 #include <omalloc/omalloc.h>15 16 #include <coeffs/numbers.h>17 #include <polys/monomials/ring.h>18 // #include <polys/monomials/maps.h>19 #include <polys/matpol.h>20 #include <polys/prCopy.h>21 //#include <libpolys/polys/ext_fields/longtrans.h>22 #include <libpolys/polys/monomials/maps.h>23 #include <libpolys/coeffs/coeffs.h>24 25 // #include <kernel/longalg.h>26 27 #include <kernel/febase.h>28 #include <kernel/kstd1.h>29 29 30 30 #include "lists.h" 31 31 #include "tok.h" 32 33 /* debug output: Tok2Cmdname in maApplyFetch*/ 34 //#include "ipshell.h" 32 35 33 36 // define this if you want to use the fast_map routine for mapping ideals … … 103 106 { 104 107 matrix s=mpNew(N,maMaxDeg_P((poly)data, preimage_r)); 105 res->data=(void *)maEval(theMap, (poly)data,preimage_r,nMap,(ideal)s);108 res->data=(void *)maEval(theMap, (poly)data, preimage_r, nMap, (ideal)s, currRing); 106 109 idDelete((ideal *)&s); 107 110 } … … 149 152 for (i=R*C-1;i>=0;i--) 150 153 { 151 m->m[i]=maEval(theMap, ((ideal)data)->m[i],preimage_r,nMap,(ideal)s);154 m->m[i]=maEval(theMap, ((ideal)data)->m[i], preimage_r, nMap, (ideal)s, currRing); 152 155 pTest(m->m[i]); 153 156 }
Note: See TracChangeset
for help on using the changeset viewer.