Changeset 0f7ce1 in git
- Timestamp:
- Apr 26, 2005, 10:59:10 AM (18 years ago)
- Branches:
- (u'jengelh-datetime', 'ceac47cbc86fe4a15902392bdbb9bd2ae0ea02c6')(u'spielwiese', 'a800fe4b3e9d37a38c5a10cc0ae9dfa0c15a4ee6')
- Children:
- dda2fd472582bc5fdf1e2052d1c46f9c9e7023d8
- Parents:
- 5d00520a016f7e7089be25484b5cc41e3b897fd4
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
Singular/iparith.cc
r5d0052 r0f7ce1 2 2 * Computer Algebra System SINGULAR * 3 3 ****************************************/ 4 /* $Id: iparith.cc,v 1.34 5 2005-04-18 15:10:04Singular Exp $ */4 /* $Id: iparith.cc,v 1.346 2005-04-26 08:59:10 Singular Exp $ */ 5 5 6 6 /* … … 2974 2974 { 2975 2975 assumeStdFlag(v); 2976 scDegree((ideal)v->Data(),currQuotient); 2976 intvec *module_w=(intvec*)atGet(v,"isHomog"); 2977 scDegree((ideal)v->Data(),module_w,currQuotient); 2977 2978 return FALSE; 2978 2979 } -
kernel/hdegree.cc
r5d0052 r0f7ce1 2 2 * Computer Algebra System SINGULAR * 3 3 ****************************************/ 4 /* $Id: hdegree.cc,v 1. 3 2004-10-05 11:25:39 pohlExp $ */4 /* $Id: hdegree.cc,v 1.4 2005-04-26 08:57:54 Singular Exp $ */ 5 5 /* 6 6 * ABSTRACT - dimension, multiplicity, HC, kbase … … 807 807 } 808 808 809 int scDegree(ideal S, ideal Q) 810 { 811 hDegree(S, Q); 812 int di = pVariables-hCo; 813 if (di!=0) return hMu; 814 else /*variety is empty or not projective*/ return 0; 809 void scDegree(ideal S, intvec *modulweight, ideal Q) 810 { 811 int co, mu, l; 812 intvec *hseries2; 813 intvec *hseries1 = hFirstSeries(S, modulweight, Q); 814 l = hseries1->length()-1; 815 if (l > 1) 816 hseries2 = hSecondSeries(hseries1); 817 else 818 hseries2 = hseries1; 819 hDegreeSeries(hseries1, hseries2, &co, &mu); 820 if ((l == 1) &&(mu == 0)) 821 scPrintDegree(pVariables+1, 0); 822 else 823 scPrintDegree(co, mu); 824 if (l>1) 825 delete hseries1; 826 delete hseries2; 815 827 } 816 828 -
kernel/hilb.cc
r5d0052 r0f7ce1 2 2 * Computer Algebra System SINGULAR * 3 3 ****************************************/ 4 /* $Id: hilb.cc,v 1. 1.1.1 2003-10-06 12:15:53 Singular Exp $ */4 /* $Id: hilb.cc,v 1.2 2005-04-26 08:58:13 Singular Exp $ */ 5 5 /* 6 6 * ABSTRACT - Hilbert series … … 403 403 } 404 404 405 staticvoid hDegreeSeries(intvec *s1, intvec *s2, int *co, int *mu)405 void hDegreeSeries(intvec *s1, intvec *s2, int *co, int *mu) 406 406 { 407 407 int m, i, j, k; -
kernel/hutil.h
r5d0052 r0f7ce1 63 63 void hIndAllMult(scmon pure, int Npure, scfmon rad, int Nrad, 64 64 varset var, int Nvar); 65 65 void hDegreeSeries(intvec *s1, intvec *s2, int *co, int *mu); 66 66 67 67 #endif -
kernel/stairc.h
r5d0052 r0f7ce1 4 4 * Computer Algebra System SINGULAR * 5 5 ****************************************/ 6 /* $Id: stairc.h,v 1. 1.1.1 2003-10-06 12:16:03 Singular Exp $ */6 /* $Id: stairc.h,v 1.2 2005-04-26 08:58:13 Singular Exp $ */ 7 7 /* 8 8 * ABSTRACT … … 19 19 int scMult0Int(ideal s,ideal Q=NULL); 20 20 void scPrintDegree(int co, int mu); 21 int scDegree(ideal s,ideal Q=NULL);21 void scDegree(ideal s,intvec *modulweight,ideal Q=NULL); 22 22 23 23 ideal scKBase(int deg, ideal s, ideal Q=NULL);
Note: See TracChangeset
for help on using the changeset viewer.