Changeset 4315 for trunk/psLib/src/math
- Timestamp:
- Jun 17, 2005, 4:30:50 PM (21 years ago)
- Location:
- trunk/psLib/src/math
- Files:
-
- 6 edited
-
psPolynomial.c (modified) (2 diffs)
-
psPolynomial.h (modified) (2 diffs)
-
psSpline.c (modified) (2 diffs)
-
psSpline.h (modified) (2 diffs)
-
psStats.c (modified) (2 diffs)
-
psStats.h (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psLib/src/math/psPolynomial.c
r4288 r4315 7 7 * polynomials. It also contains a Gaussian functions. 8 8 * 9 * @version $Revision: 1.10 8$ $Name: not supported by cvs2svn $10 * @date $Date: 2005-06-1 6 22:32:07$9 * @version $Revision: 1.109 $ $Name: not supported by cvs2svn $ 10 * @date $Date: 2005-06-18 02:30:49 $ 11 11 * 12 12 * Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii … … 1016 1016 evaluated Gaussian is: \f[ exp(-\frac{(x-mean)^2}{2\sigma^2}) \f] 1017 1017 *****************************************************************************/ 1018 psF32 psGaussian(psF32 x, psF32 mean, psF32 sigma, psBool normal)1018 float psGaussian(float x, float mean, float sigma, bool normal) 1019 1019 { 1020 1020 psF32 tmp = 1.0; -
trunk/psLib/src/math/psPolynomial.h
r4190 r4315 12 12 * @author GLG, MHPCC 13 13 * 14 * @version $Revision: 1.4 6$ $Name: not supported by cvs2svn $15 * @date $Date: 2005-06- 09 19:26:48$14 * @version $Revision: 1.47 $ $Name: not supported by cvs2svn $ 15 * @date $Date: 2005-06-18 02:30:49 $ 16 16 * 17 17 * Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii … … 41 41 * @return psF32 value on the gaussian curve given the input parameters 42 42 */ 43 psF32psGaussian(44 psF32x, ///< Value at which to evaluate45 psF32mean, ///< Mean for the Gaussian46 psF32 stddev,///< Standard deviation for the Gaussian47 psBool normal///< Indicates whether result should be normalized43 float psGaussian( 44 float x, ///< Value at which to evaluate 45 float mean, ///< Mean for the Gaussian 46 float sigma, ///< Standard deviation for the Gaussian 47 bool normal ///< Indicates whether result should be normalized 48 48 ); 49 49 -
trunk/psLib/src/math/psSpline.c
r4288 r4315 7 7 * polynomials. It also contains a Gaussian functions. 8 8 * 9 * @version $Revision: 1.10 8$ $Name: not supported by cvs2svn $10 * @date $Date: 2005-06-1 6 22:32:07$9 * @version $Revision: 1.109 $ $Name: not supported by cvs2svn $ 10 * @date $Date: 2005-06-18 02:30:49 $ 11 11 * 12 12 * Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii … … 1016 1016 evaluated Gaussian is: \f[ exp(-\frac{(x-mean)^2}{2\sigma^2}) \f] 1017 1017 *****************************************************************************/ 1018 psF32 psGaussian(psF32 x, psF32 mean, psF32 sigma, psBool normal)1018 float psGaussian(float x, float mean, float sigma, bool normal) 1019 1019 { 1020 1020 psF32 tmp = 1.0; -
trunk/psLib/src/math/psSpline.h
r4190 r4315 12 12 * @author GLG, MHPCC 13 13 * 14 * @version $Revision: 1.4 6$ $Name: not supported by cvs2svn $15 * @date $Date: 2005-06- 09 19:26:48$14 * @version $Revision: 1.47 $ $Name: not supported by cvs2svn $ 15 * @date $Date: 2005-06-18 02:30:49 $ 16 16 * 17 17 * Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii … … 41 41 * @return psF32 value on the gaussian curve given the input parameters 42 42 */ 43 psF32psGaussian(44 psF32x, ///< Value at which to evaluate45 psF32mean, ///< Mean for the Gaussian46 psF32 stddev,///< Standard deviation for the Gaussian47 psBool normal///< Indicates whether result should be normalized43 float psGaussian( 44 float x, ///< Value at which to evaluate 45 float mean, ///< Mean for the Gaussian 46 float sigma, ///< Standard deviation for the Gaussian 47 bool normal ///< Indicates whether result should be normalized 48 48 ); 49 49 -
trunk/psLib/src/math/psStats.c
r4225 r4315 14 14 * stats->binsize 15 15 * 16 * @version $Revision: 1.13 3$ $Name: not supported by cvs2svn $17 * @date $Date: 2005-06-1 3 20:18:18$16 * @version $Revision: 1.134 $ $Name: not supported by cvs2svn $ 17 * @date $Date: 2005-06-18 02:30:49 $ 18 18 * 19 19 * Copyright 2004 Maui High Performance Computing Center, University of Hawaii … … 1798 1798 The histogram structure 1799 1799 *****************************************************************************/ 1800 psHistogram* psHistogramAlloc( psF32 lower, psF32 upper, psS32n)1800 psHistogram* psHistogramAlloc(float lower, float upper, int n) 1801 1801 { 1802 1802 PS_ASSERT_INT_POSITIVE(n, NULL); -
trunk/psLib/src/math/psStats.h
r4293 r4315 14 14 * @author GLG, MHPCC 15 15 * 16 * @version $Revision: 1.4 3$ $Name: not supported by cvs2svn $17 * @date $Date: 2005-06-1 7 00:11:05$16 * @version $Revision: 1.44 $ $Name: not supported by cvs2svn $ 17 * @date $Date: 2005-06-18 02:30:49 $ 18 18 * 19 19 * Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii … … 136 136 */ 137 137 psHistogram* psHistogramAlloc( 138 psF32lower, ///< Lower limit for the bins139 psF32upper, ///< Upper limit for the bins140 psS32 n///< Number of bins138 float lower, ///< Lower limit for the bins 139 float upper, ///< Upper limit for the bins 140 int n ///< Number of bins 141 141 ); 142 142
Note:
See TracChangeset
for help on using the changeset viewer.
