Changeset 1287 for GTP/trunk/Lib/Vis/Preprocessing/src/common.h
- Timestamp:
- 08/27/06 23:39:50 (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
GTP/trunk/Lib/Vis/Preprocessing/src/common.h
r1201 r1287 269 269 270 270 271 271 /*inline int 272 RandomValue(int a, int b) 273 { 274 int range = abs(a - b); 275 return (rand() * range) / RAND_MAX + ((a < b) ? a : b); 276 }*/ 272 277 273 278 inline Real sqr(Real a) … … 275 280 return a*a; 276 281 } 282 277 283 278 284 template <class T>
Note: See TracChangeset
for help on using the changeset viewer.