IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Jun 14, 2004, 9:33:09 AM (22 years ago)
Author:
gusciora
Message:

...

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/psLib/src/dataManip/psFunctions.h

    r974 r1020  
     1/** @file psFunctions.h
     2 *  \brief Standard Mathematical Functions.
     3 *  \ingroup Stats
     4 *
     5 *  This file will hold the prototypes for procedures which allocate, free,
     6 *  and evaluate various polynomials.  Those polynomial structures are also
     7 *  defined here.
     8 *
     9 *  @ingroup Stats
     10 *
     11 *  @author Someone at IfA
     12 *  @author George Gusciora, MHPCC
     13 *
     14 *  @version $Revision: 1.6 $ $Name: not supported by cvs2svn $
     15 *  @date $Date: 2004-06-14 19:32:42 $
     16 *
     17 *  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
     18 */
     19
    120#if !defined(PS_FUNCTIONS_H)
    221#define PS_FUNCTIONS_H
    322
    4 /** \file psFunctions.h
    5  *  \brief Standard Mathematical Functions.
    6  *  \ingroup Stats
    7  */
    823
    924/** \addtogroup Stats
     
    2338
    2439
    25 psVector *psGaussianDev(float mean,
    26                         float sigma,
    27                         int Npts);
    28 
    29 /*****************************************************************************/
     40/** Produce a vector of random numbers from a Gaussian distribution with
     41    the specified mean and sigma */
     42psVector *psGaussianDev(float mean,    ///< The mean of the Gaussian
     43                        float sigma,   ///< The sigma of the Gaussian
     44                        int Npts);     ///< The size of the vector
     45
     46
     47
     48
    3049
    3150/** One-dimensional polynomial */
    3251typedef struct
    3352{
    34     int n;    ///< Number of terms
    35     float *coeff;   ///< Coefficients
    36     float *coeffErr;   ///< Error in coefficients
    37     char *mask;    ///< Coefficient mask
     53    int n;           ///< Number of terms
     54    float *coeff;    ///< Coefficients
     55    float *coeffErr; ///< Error in coefficients
     56    char *mask;      ///< Coefficient mask
    3857}
    3958psPolynomial1D;
Note: See TracChangeset for help on using the changeset viewer.