IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 4315 for trunk/psLib/src/math


Ignore:
Timestamp:
Jun 17, 2005, 4:30:50 PM (21 years ago)
Author:
drobbin
Message:

* empty log message *

Location:
trunk/psLib/src/math
Files:
6 edited

Legend:

Unmodified
Added
Removed
  • trunk/psLib/src/math/psPolynomial.c

    r4288 r4315  
    77 *  polynomials.  It also contains a Gaussian functions.
    88 *
    9  *  @version $Revision: 1.108 $ $Name: not supported by cvs2svn $
    10  *  @date $Date: 2005-06-16 22:32:07 $
     9 *  @version $Revision: 1.109 $ $Name: not supported by cvs2svn $
     10 *  @date $Date: 2005-06-18 02:30:49 $
    1111 *
    1212 *  Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii
     
    10161016    evaluated Gaussian is: \f[ exp(-\frac{(x-mean)^2}{2\sigma^2}) \f]
    10171017 *****************************************************************************/
    1018 psF32 psGaussian(psF32 x, psF32 mean, psF32 sigma, psBool normal)
     1018float psGaussian(float x, float mean, float sigma, bool normal)
    10191019{
    10201020    psF32 tmp = 1.0;
  • trunk/psLib/src/math/psPolynomial.h

    r4190 r4315  
    1212 *  @author GLG, MHPCC
    1313 *
    14  *  @version $Revision: 1.46 $ $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 $
    1616 *
    1717 *  Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii
     
    4141 *  @return psF32      value on the gaussian curve given the input parameters
    4242 */
    43 psF32 psGaussian(
    44     psF32 x,                           ///< Value at which to evaluate
    45     psF32 mean,                        ///< Mean for the Gaussian
    46     psF32 stddev,                      ///< Standard deviation for the Gaussian
    47     psBool normal                      ///< Indicates whether result should be normalized
     43float 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
    4848);
    4949
  • trunk/psLib/src/math/psSpline.c

    r4288 r4315  
    77 *  polynomials.  It also contains a Gaussian functions.
    88 *
    9  *  @version $Revision: 1.108 $ $Name: not supported by cvs2svn $
    10  *  @date $Date: 2005-06-16 22:32:07 $
     9 *  @version $Revision: 1.109 $ $Name: not supported by cvs2svn $
     10 *  @date $Date: 2005-06-18 02:30:49 $
    1111 *
    1212 *  Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii
     
    10161016    evaluated Gaussian is: \f[ exp(-\frac{(x-mean)^2}{2\sigma^2}) \f]
    10171017 *****************************************************************************/
    1018 psF32 psGaussian(psF32 x, psF32 mean, psF32 sigma, psBool normal)
     1018float psGaussian(float x, float mean, float sigma, bool normal)
    10191019{
    10201020    psF32 tmp = 1.0;
  • trunk/psLib/src/math/psSpline.h

    r4190 r4315  
    1212 *  @author GLG, MHPCC
    1313 *
    14  *  @version $Revision: 1.46 $ $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 $
    1616 *
    1717 *  Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii
     
    4141 *  @return psF32      value on the gaussian curve given the input parameters
    4242 */
    43 psF32 psGaussian(
    44     psF32 x,                           ///< Value at which to evaluate
    45     psF32 mean,                        ///< Mean for the Gaussian
    46     psF32 stddev,                      ///< Standard deviation for the Gaussian
    47     psBool normal                      ///< Indicates whether result should be normalized
     43float 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
    4848);
    4949
  • trunk/psLib/src/math/psStats.c

    r4225 r4315  
    1414 *      stats->binsize
    1515 *
    16  *  @version $Revision: 1.133 $ $Name: not supported by cvs2svn $
    17  *  @date $Date: 2005-06-13 20:18:18 $
     16 *  @version $Revision: 1.134 $ $Name: not supported by cvs2svn $
     17 *  @date $Date: 2005-06-18 02:30:49 $
    1818 *
    1919 *  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
     
    17981798    The histogram structure
    17991799 *****************************************************************************/
    1800 psHistogram* psHistogramAlloc(psF32 lower, psF32 upper, psS32 n)
     1800psHistogram* psHistogramAlloc(float lower, float upper, int n)
    18011801{
    18021802    PS_ASSERT_INT_POSITIVE(n, NULL);
  • trunk/psLib/src/math/psStats.h

    r4293 r4315  
    1414 *  @author GLG, MHPCC
    1515 *
    16  *  @version $Revision: 1.43 $ $Name: not supported by cvs2svn $
    17  *  @date $Date: 2005-06-17 00:11:05 $
     16 *  @version $Revision: 1.44 $ $Name: not supported by cvs2svn $
     17 *  @date $Date: 2005-06-18 02:30:49 $
    1818 *
    1919 *  Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii
     
    136136 */
    137137psHistogram* psHistogramAlloc(
    138     psF32 lower,                       ///< Lower limit for the bins
    139     psF32 upper,                       ///< Upper limit for the bins
    140     psS32 n                            ///< Number of bins
     138    float lower,                       ///< Lower limit for the bins
     139    float upper,                       ///< Upper limit for the bins
     140    int n                              ///< Number of bins
    141141);
    142142
Note: See TracChangeset for help on using the changeset viewer.