Changeset 4580 for trunk/psLib/src/math/psFunctions.c
- Timestamp:
- Jul 18, 2005, 4:55:54 PM (21 years ago)
- File:
-
- 1 edited
-
trunk/psLib/src/math/psFunctions.c (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psLib/src/math/psFunctions.c
r4570 r4580 1 1 /** @file psFunctions.c 2 *3 * @brief Contains basic function allocation, deallocation, and evaluation4 * routines.5 *6 * This file will hold the functions for allocated, freeing, and evaluating7 * polynomials. It also contains a Gaussian functions.8 *9 * @version $Revision: 1.4$ $Name: not supported by cvs2svn $10 * @date $Date: 2005-07-16 00:42:28$11 *12 * Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii13 *14 * XXX: Should the "coeffErr[]" be used as well? Bug ???. Ignore coeffErr15 *16 * XXX: In the various polyAlloc(n) functions, n is really the order of the17 * polynomial plus 1. To create a 2nd-order polynomial, n == 3.18 */2 * 3 * @brief Contains basic function allocation, deallocation, and evaluation 4 * routines. 5 * 6 * This file will hold the functions for allocated, freeing, and evaluating 7 * polynomials. It also contains a Gaussian functions. 8 * 9 * @version $Revision: 1.5 $ $Name: not supported by cvs2svn $ 10 * @date $Date: 2005-07-19 02:55:54 $ 11 * 12 * Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii 13 * 14 * XXX: Should the "coeffErr[]" be used as well? Bug ???. Ignore coeffErr 15 * 16 * XXX: In the various polyAlloc(n) functions, n is really the order of the 17 * polynomial plus 1. To create a 2nd-order polynomial, n == 3. 18 */ 19 19 /*****************************************************************************/ 20 20 /* INCLUDE FILES */ … … 1918 1918 for (psS32 i=0;i<bounds->n-1;i++) { 1919 1919 if (FLT_EPSILON >= fabs(bounds->data.F32[i+1]-bounds->data.F32[i])) { 1920 psError(PS_ERR_UNKNOWN, true, "data points must be distinct \n");1920 psError(PS_ERR_UNKNOWN, true, "data points must be distinct ([%d] %f %f)\n", i, bounds->data.F32[i], bounds->data.F32[i+1]); 1921 1921 return(NULL); 1922 1922 }
Note:
See TracChangeset
for help on using the changeset viewer.
