Changeset 10848 for trunk/psLib/src/math/psStats.c
- Timestamp:
- Dec 28, 2006, 6:38:42 PM (19 years ago)
- File:
-
- 1 edited
-
trunk/psLib/src/math/psStats.c (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psLib/src/math/psStats.c
r10773 r10848 13 13 * use ->min and ->max (PS_STAT_USE_RANGE) 14 14 * 15 * @version $Revision: 1.19 6$ $Name: not supported by cvs2svn $16 * @date $Date: 2006-12- 16 05:33:48$15 * @version $Revision: 1.197 $ $Name: not supported by cvs2svn $ 16 * @date $Date: 2006-12-29 04:38:42 $ 17 17 * 18 18 * Copyright 2006 IfA, University of Hawaii … … 1856 1856 // Determine the coefficients of the polynomial. 1857 1857 psPolynomial1D *myPoly = psPolynomial1DAlloc(PS_POLYNOMIAL_ORD, 2); 1858 myPoly = psVectorFitPolynomial1D(myPoly, NULL, 0, y, NULL, x); 1859 if (myPoly == NULL) { 1858 if (!psVectorFitPolynomial1D(myPoly, NULL, 0, y, NULL, x)) { 1860 1859 psError(PS_ERR_UNEXPECTED_NULL, false, 1861 1860 _("Failed to fit a 1-dimensional polynomial to the three specified data points. Returning NAN."));
Note:
See TracChangeset
for help on using the changeset viewer.
