Changeset 1734 for trunk/psLib/src/math/psSpline.c
- Timestamp:
- Sep 8, 2004, 1:32:03 PM (22 years ago)
- File:
-
- 1 edited
-
trunk/psLib/src/math/psSpline.c (modified) (5 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psLib/src/math/psSpline.c
r1725 r1734 7 7 * polynomials. It also contains a Gaussian functions. 8 8 * 9 * @version $Revision: 1.2 8$ $Name: not supported by cvs2svn $10 * @date $Date: 2004-09-08 07:11:22$9 * @version $Revision: 1.29 $ $Name: not supported by cvs2svn $ 10 * @date $Date: 2004-09-08 23:32:03 $ 11 11 * 12 12 * Copyright 2004 Maui High Performance Computing Center, University of Hawaii … … 125 125 float tmp = 1.0; 126 126 127 psTrace(".psLib.dataManip.psFunctions.psGaussian", 4, 128 "---- psGaussian() begin ----\n"); 129 127 130 if (normal == true) { 128 131 #ifdef DARWIN … … 135 138 } 136 139 140 psTrace(".psLib.dataManip.psFunctions.psGaussian", 4, 141 "---- psGaussian() end ----\n"); 137 142 return(tmp * exp(-((x - mean) * (x - mean)) / (2.0 * sigma * sigma))); 138 143 } … … 1368 1373 1369 1374 /***************************************************************************** 1370 1371 1375 NOTE: "n" specifies the number of spline polynomials. Therefore, there 1372 1376 must exist n+1 points in "domains". … … 1504 1508 return(tmpVector); 1505 1509 } 1506
Note:
See TracChangeset
for help on using the changeset viewer.
