Changeset e9c3b2 in git for kernel/intvec.cc
- Timestamp:
- Mar 15, 2011, 7:17:47 PM (12 years ago)
- Branches:
- (u'spielwiese', '0d6b7fcd9813a1ca1ed4220cfa2b104b97a0a003')
- Children:
- 92e0ebb492f002a11e78b302b3758d32aedea17e
- Parents:
- 1ed3466deda30d9e243b441fb4bc4e0c4729cf69
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/intvec.cc
r1ed346 re9c3b2 125 125 { 126 126 return omStrDup(ivString(1, 0, dim)); 127 } 128 129 void intvec::view () const 130 { 131 Print ("intvec: {rows: %d, cols: %d, length: %d, Values: \n", rows(), cols(), length()); 132 133 for (int i = 0; i < rows(); i++) 134 { 135 Print ("Row[%3d]:", i); 136 for (int j = 0; j < cols(); j++) 137 Print (" %5d", this->operator[]((i)*cols()+j) ); 138 PrintLn (); 139 } 140 PrintS ("}\n"); 127 141 } 128 142
Note: See TracChangeset
for help on using the changeset viewer.