Changeset 10475
- Timestamp:
- Dec 5, 2006, 10:05:57 AM (19 years ago)
- File:
-
- 1 edited
-
trunk/psLib/src/math/psStats.c (modified) (10 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psLib/src/math/psStats.c
r10395 r10475 16 16 * use ->min and ->max (PS_STAT_USE_RANGE) 17 17 * 18 * @version $Revision: 1.19 2$ $Name: not supported by cvs2svn $19 * @date $Date: 2006-12-0 1 22:41:33$18 * @version $Revision: 1.193 $ $Name: not supported by cvs2svn $ 19 * @date $Date: 2006-12-05 20:05:57 $ 20 20 * 21 21 * Copyright 2004 Maui High Performance Computing Center, University of Hawaii … … 239 239 costs only a small amount and is much easier to debug. running 10000 tests 240 240 of 1000 point vectors for the two methods gives: 241 separate single 241 separate single 242 242 (mask: 0, range: 0): 0.067 sec 0.073 sec 243 243 (mask: 1, range: 0): 0.098 sec 0.102 sec … … 314 314 costs only a small amount and is much easier to debug. running 10000 tests 315 315 of 1000 point vectors for the two methods gives: 316 separate single 316 separate single 317 317 (mask: 0, range: 0): 0.101 sec 0.149 sec 318 318 (mask: 1, range: 0): 0.125 sec 0.160 sec … … 1300 1300 psFree(statsMinMax); 1301 1301 psTrace("psLib.math", 4, "---- %s(false) end ----\n", __func__); 1302 psFree(mask); 1302 1303 return false; 1303 1304 } … … 1318 1319 1319 1320 psTrace("psLib.math", 4, "---- %s(0) end ----\n", __func__); 1321 psFree(mask); 1320 1322 return false; 1321 1323 } … … 1375 1377 psFree(cumulative); 1376 1378 psTrace("psLib.math", 4, "---- %s(false) end ----\n", __func__); 1379 psFree(mask); 1377 1380 return false; 1378 1381 } … … 1391 1394 psFree(cumulative); 1392 1395 psTrace("psLib.math", 4, "---- %s(false) end ----\n", __func__); 1396 psFree(mask); 1393 1397 return false; 1394 1398 } … … 1426 1430 psFree(cumulative); 1427 1431 psTrace("psLib.math", 4, "---- %s(false) end ----\n", __func__); 1432 psFree(mask); 1428 1433 return false; 1429 1434 } … … 1544 1549 psFree(cumulative); 1545 1550 psTrace("psLib.math", 4, "---- %s(false) end ----\n", __func__); 1551 psFree(mask); 1546 1552 return false; 1547 1553 } … … 1561 1567 psFree(statsMinMax); 1562 1568 psTrace("psLib.math", 4, "---- %s(1) end ----\n", __func__); 1569 psFree(mask); 1563 1570 return false; 1564 1571 }
Note:
See TracChangeset
for help on using the changeset viewer.
