Changeset 07969d in git
- Timestamp:
- Jan 18, 2010, 2:18:20 PM (13 years ago)
- Branches:
- (u'spielwiese', '0d6b7fcd9813a1ca1ed4220cfa2b104b97a0a003')
- Children:
- a01d50fc3b92a3003a532add6e1a65254adbd29e
- Parents:
- a0db9e2da8bb9de2698f9dc20fcd535934ff9b39
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/ideals.cc
ra0db9e r07969d 4005 4005 ideal idChineseRemainder(ideal *xx, number *q, int rl) 4006 4006 { 4007 ideal result=idInit(IDELEMS(xx[0]),xx[0]->rank); 4007 int cnt=IDELEMS(xx[0])*xx[0]->nrows; 4008 ideal result=idInit(cnt,xx[0]->rank); 4009 result->nrows=xx[0]->nrows; // for lifting matrices 4010 result->ncols=xx[0]->ncols; // for lifting matrices 4008 4011 int i,j; 4009 4012 poly r,h,hh,res_p; 4010 4013 number *x=(number *)omAlloc(rl*sizeof(number)); 4011 for(i= IDELEMS(result)-1;i>=0;i--)4014 for(i=cnt-1;i>=0;i--) 4012 4015 { 4013 4016 res_p=NULL;
Note: See TracChangeset
for help on using the changeset viewer.