IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Aug 23, 2005, 1:23:05 PM (21 years ago)
Author:
gusciora
Message:

Eliminated gsl calls in psFunctions.c.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/psLib/src/math/psRandom.h

    r4330 r4857  
    1010*  @author GLG, MHPCC
    1111*
    12 *  @version $Revision: 1.6 $ $Name: not supported by cvs2svn $
    13 *  @date $Date: 2005-06-21 03:01:37 $
     12*  @version $Revision: 1.7 $ $Name: not supported by cvs2svn $
     13*  @date $Date: 2005-08-23 23:23:05 $
    1414*
    1515*  Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii
     
    4747}
    4848psRandom;
     49
     50psU64 p_psRandomGetSystemSeed();
    4951
    5052/** Allocates a psRandom struct.
     
    8486);
    8587
     88/** Random number generator based on a Gaussian deviate, N(0,1).
     89 *  Uses gsl_ran_gaussian.
     90 * 
     91 *  XXX: I created this since the above psLib spec for p_psRandomGaussian
     92 *  had no argument for sigma.  Verify that with IfA.
     93 * 
     94 *  @return double:     Random number.
     95 */
     96double p_psRandomGaussian(
     97    const psRandom *r,                  ///< psRandom struct for RNG
     98    double sigma
     99);
     100
    86101/** Random number generator based on a Poisson distribution with the given mean.
    87102 *  Uses gsl_ran_poisson.
Note: See TracChangeset for help on using the changeset viewer.