Changeset 10773 for trunk/psLib/src/math/psStats.c
- Timestamp:
- Dec 15, 2006, 7:33:48 PM (19 years ago)
- File:
-
- 1 edited
-
trunk/psLib/src/math/psStats.c (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psLib/src/math/psStats.c
r10730 r10773 13 13 * use ->min and ->max (PS_STAT_USE_RANGE) 14 14 * 15 * @version $Revision: 1.19 5$ $Name: not supported by cvs2svn $16 * @date $Date: 2006-12-1 4 19:12:05$15 * @version $Revision: 1.196 $ $Name: not supported by cvs2svn $ 16 * @date $Date: 2006-12-16 05:33:48 $ 17 17 * 18 18 * Copyright 2006 IfA, University of Hawaii … … 484 484 // a) Exclude all values x_i for which |x_i - x| > K * stdev 485 485 if (errors) { 486 // XXXX if we convert errors to variance, this should square the other terms (A*A faster than sqrt(A)) 486 487 for (long j = 0; j < myVector->n; j++) { 487 488 if (!tmpMask->data.U8[j] && … … 660 661 // Generate the histogram 661 662 histogram = psHistogramAlloc(min, max, numBins); 663 // XXXXX we need to consider this step if errors -> variance 662 664 histogram = psVectorHistogram(histogram, myVector, errors, mask, maskVal); 663 665 if (psTraceGetLevel("psLib.math") >= 8) {
Note:
See TracChangeset
for help on using the changeset viewer.
