Changeset a934fb3 in git for libpolys/polys
- Timestamp:
- Mar 11, 2016, 3:36:57 PM (8 years ago)
- Branches:
- (u'fieker-DuVal', '117eb8c30fc9e991c4decca4832b1d19036c4c65')(u'spielwiese', '38dfc5131670d387a89455159ed1e071997eec94')
- Children:
- 23812d3dd3a69ed0874b01c271d1908acd7f0f05
- Parents:
- 052df146007b4badfc821b69808a085b155cc991
- Location:
- libpolys/polys/monomials
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
libpolys/polys/monomials/p_polys.cc
r052df1 ra934fb3 3925 3925 */ 3926 3926 poly p_PermPoly (poly p, const int * perm, const ring oldRing, const ring dst, 3927 nMapFunc nMap, const int *par_perm, int OldPar )3927 nMapFunc nMap, const int *par_perm, int OldPar, BOOLEAN use_mult) 3928 3928 { 3929 3929 #if 0 … … 3938 3938 assume(dst != NULL); 3939 3939 assume(dst->cf != NULL); 3940 #ifdef HAVE_PLURAL 3941 poly tmp_mm=p_One(dst); 3942 #endif 3940 3943 while (p != NULL) 3941 3944 { … … 3983 3986 p_SetExp(qq, i, e, dst); 3984 3987 else if (perm[i]>0) 3988 { 3989 #ifdef HAVE_PLURAL 3990 if(use_mult) 3991 { 3992 p_SetExp(tmp_mm,perm[i],e,dst); 3993 p_Setm(tmp_mm,dst); 3994 qq=p_Mult_mm(qq,tmp_mm,dst); 3995 p_SetExp(tmp_mm,perm[i],0,dst); 3996 3997 } 3998 else 3999 #endif 3985 4000 p_AddExp(qq,perm[i], e/*p_GetExp( p,i,oldRing)*/, dst); 4001 } 3986 4002 else if (perm[i]<0) 3987 4003 { … … 4124 4140 PrintS("result: "); p_Write(result,dst,dst); 4125 4141 #endif 4142 #ifdef HAVE_PLURAL 4143 p_LmDelete(&tmp_mm,dst); 4144 #endif 4126 4145 return result; 4127 4146 } -
libpolys/polys/monomials/p_polys.h
r052df1 ra934fb3 1915 1915 1916 1916 poly p_PermPoly (poly p, const int * perm,const ring OldRing, const ring dst, 1917 nMapFunc nMap, const int *par_perm=NULL, int OldPar=0); 1917 nMapFunc nMap, const int *par_perm=NULL, int OldPar=0, 1918 BOOLEAN use_mult=FALSE); 1918 1919 1919 1920 /*----------------------------------------------------*/
Note: See TracChangeset
for help on using the changeset viewer.