Changeset 3714 for trunk/psLib/src/math/psPolynomial.c
- Timestamp:
- Apr 18, 2005, 6:16:02 PM (21 years ago)
- File:
-
- 1 edited
-
trunk/psLib/src/math/psPolynomial.c (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psLib/src/math/psPolynomial.c
r3709 r3714 7 7 * polynomials. It also contains a Gaussian functions. 8 8 * 9 * @version $Revision: 1.9 7$ $Name: not supported by cvs2svn $10 * @date $Date: 2005-04-19 0 0:34:04$9 * @version $Revision: 1.98 $ $Name: not supported by cvs2svn $ 10 * @date $Date: 2005-04-19 04:16:02 $ 11 11 * 12 12 * Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii 13 13 * 14 * XXX: What happens if the polyE Val functions are called with data of the wrong14 * XXX: What happens if the polyEval functions are called with data of the wrong 15 15 * type? 16 16 * XXX: Should the "coeffErr[]" be used as well? Bug ???. Ignore coeffErr 17 17 * 18 * XXX: In the various polyAlloc(n) functions, n is really the order of the 19 * polynomial plus 1. To create a 2nd-order polynomial, n == 3. 18 20 */ 19 21 /*****************************************************************************/ … … 175 177 static void dPolynomial2DFree(psDPolynomial2D* myPoly) 176 178 { 177 psS32 x = 0;178 179 for ( x = 0; x < myPoly->nX; x++) {179 //printf("dPolynomial2DFree(): HMMM: myPoly->nX is %d\n", myPoly->nX); 180 //printf("dPolynomial2DFree(): HMMM: myPoly->nY is %d\n", myPoly->nY); 181 for (psS32 x = 0; x < myPoly->nX; x++) { 180 182 psFree(myPoly->coeff[x]); 181 183 psFree(myPoly->coeffErr[x]);
Note:
See TracChangeset
for help on using the changeset viewer.
