Changeset 2436 for trunk/psLib/src/math/psStats.c
- Timestamp:
- Nov 24, 2004, 12:14:39 PM (22 years ago)
- File:
-
- 1 edited
-
trunk/psLib/src/math/psStats.c (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psLib/src/math/psStats.c
r2411 r2436 9 9 * @author GLG, MHPCC 10 10 * 11 * @version $Revision: 1. 99$ $Name: not supported by cvs2svn $12 * @date $Date: 2004-11-24 00:05:54$11 * @version $Revision: 1.100 $ $Name: not supported by cvs2svn $ 12 * @date $Date: 2004-11-24 22:14:39 $ 13 13 * 14 14 * Copyright 2004 Maui High Performance Computing Center, University of Hawaii … … 1063 1063 // falls within the range of y-values of the polynomial "myPoly" in the 1064 1064 // specified x-range (rangeLow:rangeHigh). 1065 float fLo = psPolynomial1DEval(rangeLow, myPoly); 1066 float fHi = psPolynomial1DEval(rangeHigh, myPoly); 1065 float fLo = psPolynomial1DEval( 1066 myPoly, 1067 rangeLow 1068 ); 1069 float fHi = psPolynomial1DEval( 1070 myPoly, 1071 rangeHigh 1072 ); 1067 1073 if (!((fLo <= getThisValue) && (fHi >= getThisValue))) { 1068 1074 psError(PS_ERR_UNKNOWN, … … 1084 1090 oldMidpoint = midpoint; 1085 1091 1086 f = psPolynomial1DEval(midpoint, myPoly); 1092 f = psPolynomial1DEval( 1093 myPoly, 1094 midpoint 1095 ); 1087 1096 if (fabs(f - getThisValue) <= FLT_EPSILON) { 1088 1097 return (midpoint);
Note:
See TracChangeset
for help on using the changeset viewer.
