Changeset c6b849 in git
- Timestamp:
- Jun 5, 2009, 7:18:27 AM (14 years ago)
- Branches:
- (u'spielwiese', '0d6b7fcd9813a1ca1ed4220cfa2b104b97a0a003')
- Children:
- 85e8301c6c2971f2ff4fde7f029f56cd5042b206
- Parents:
- 6dccbc5e8c728811407cb76468333f90ed59ee31
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/intvec.h
r6dccbc rc6b849 4 4 * Computer Algebra System SINGULAR * 5 5 ****************************************/ 6 /* $Id: intvec.h,v 1. 7 2009-05-15 13:20:05motsak Exp $ */6 /* $Id: intvec.h,v 1.8 2009-06-05 05:18:27 motsak Exp $ */ 7 7 /* 8 8 * ABSTRACT: class intvec: lists/vectors of integers … … 31 31 intvec(int s, int e); 32 32 intvec(int r, int c, int init); 33 intvec( intvec* iv)33 intvec(const intvec* iv) 34 34 { 35 assume( iv != NULL ); 35 36 row = iv->rows(); 36 37 col = iv->cols(); … … 111 112 } 112 113 void operator delete ( void* block ) 113 { //omfree( block ); 114 { //omfree( block ); 114 115 omFreeBin((ADDRESS)block, intvec_bin); 115 116 } … … 118 119 inline int * ivGetVec() { return v; } 119 120 }; 120 inline intvec * ivCopy( intvec * o)121 inline intvec * ivCopy(const intvec * o) 121 122 { 122 intvec * iv=new intvec(o); 123 return iv; 123 if( o != NULL ) 124 return new intvec(o); 125 126 return NULL; 124 127 } 125 128
Note: See TracChangeset
for help on using the changeset viewer.