Changeset 275397 in git for Singular/matpol.cc
- Timestamp:
- Apr 8, 1998, 6:04:32 PM (26 years ago)
- Branches:
- (u'spielwiese', 'fe61d9c35bf7c61f2b6cbf1b56e25e2f08d536cc')
- Children:
- 43ad8d3a0bac24e78153444638b76171714c3860
- Parents:
- af191b958ee3fe3243b1c9364cbf7700930e02ba
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
Singular/matpol.cc
raf191b9 r275397 2 2 * Computer Algebra System SINGULAR * 3 3 ****************************************/ 4 /* $Id: matpol.cc,v 1. 9 1998-02-18 11:35:31 siebertExp $ */4 /* $Id: matpol.cc,v 1.10 1998-04-08 16:04:29 Singular Exp $ */ 5 5 6 6 /* … … 68 68 rc->m = (polyset)Alloc0(s); 69 69 #endif 70 if (rc->m==NULL)71 {72 Werror("internal error: creating matrix[%d][%d]",r,c);73 return NULL;74 }70 //if (rc->m==NULL) 71 //{ 72 // Werror("internal error: creating matrix[%d][%d]",r,c); 73 // return NULL; 74 //} 75 75 } 76 76 return rc; … … 725 725 /* fill in the powers of x_var=h*/ 726 726 poly h=pOne(); 727 for(k= 1;k<=r; k++)727 for(k=r;k>0; k--) 728 728 { 729 729 MATELEM(m,k,k*(p+1))=pOne(); 730 730 } 731 for(l= 1;l<=p; l++)731 for(l=p;l>0; l--) 732 732 { 733 733 pSetExp(h,var,l); 734 734 pSetm(h); 735 for(k= 1;k<=r; k++)735 for(k=r;k>0; k--) 736 736 { 737 737 MATELEM(m,k,k*(p+1)-l)=pCopy(h); … … 892 892 row_col_weight::~row_col_weight() 893 893 { 894 if (ym )894 if (ym!=0) 895 895 { 896 896 Free((ADDRESS)wcol, yn*sizeof(float));
Note: See TracChangeset
for help on using the changeset viewer.