Changeset e3915e in git for kernel/intvec.cc
- Timestamp:
- May 15, 2009, 3:20:05 PM (15 years ago)
- Branches:
- (u'spielwiese', 'ec94ef7a30b928574c0c3daf41f6804dff5f6b69')
- Children:
- 8f63e4c7ff0fb85b12623e48dd7beeb869ab2257
- Parents:
- c0e207fbb11405ebf5b0060af0a525225c8f26e7
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/intvec.cc
rc0e207f re3915e 2 2 * Computer Algebra System SINGULAR * 3 3 *****************************************/ 4 /* $Id: intvec.cc,v 1. 4 2007-11-08 09:47:13 SingularExp $ */4 /* $Id: intvec.cc,v 1.5 2009-05-15 13:20:05 motsak Exp $ */ 5 5 /* 6 6 * ABSTRACT: class intvec: lists/vectors of integers … … 67 67 } 68 68 69 char * intvec::ivString(int not_mat,int spaces, int dim) 69 char * intvec::ivString(int not_mat,int spaces, int dim) const 70 70 { 71 71 //Print("ivString:this=%x,v=%x,row=%d\n",this,v,row); 72 omCheckAddr(this); 73 omCheckAddr(v); 72 #ifndef OM_NDEBUG 73 omCheckAddr((void *)this); 74 omCheckAddr((void *)v); 75 #endif 74 76 StringSetS(""); 75 77 if ((col == 1)&&(not_mat)) … … 120 122 } 121 123 122 char * intvec::String(int dim) 124 char * intvec::String(int dim) const 123 125 { 124 126 return omStrDup(ivString(1, 0, dim)); 125 127 } 126 128 127 void intvec::show(int notmat,int spaces) 129 void intvec::show(int notmat,int spaces) const 128 130 { 129 131 if (spaces>0)
Note: See TracChangeset
for help on using the changeset viewer.