IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 618


Ignore:
Timestamp:
May 7, 2004, 3:06:28 PM (22 years ago)
Author:
Paul Price
Message:

Changed definition of the Gaussian --- included 1/sqrt(2pi)/sigma.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/archive/pslib/include/psFunctions.h

    r355 r618  
    88
    99/** Evaluate a non-normalized Gaussian with the given mean and sigma at the given coordianate.  Note that this
    10     is not a Gaussian deviate.  The evaluated Gaussian is: \f[ exp(-\frac{(x-mean)^2}{2\sigma^2}) \f] */
     10 *  is not a Gaussian deviate.  The evaluated Gaussian is:
     11 *  \f[ 1/(\sqrt(2\pi)\sigma) exp(-\frac{(x-mean)^2}{2\sigma^2}) \f]
     12 */
    1113float
    1214psGaussian(float x,                     ///< Value at which to evaluate
Note: See TracChangeset for help on using the changeset viewer.