Changeset 1020 for trunk/psLib/src/dataManip/psFunctions.h
- Timestamp:
- Jun 14, 2004, 9:33:09 AM (22 years ago)
- File:
-
- 1 edited
-
trunk/psLib/src/dataManip/psFunctions.h (modified) (2 diffs)
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 1 20 #if !defined(PS_FUNCTIONS_H) 2 21 #define PS_FUNCTIONS_H 3 22 4 /** \file psFunctions.h5 * \brief Standard Mathematical Functions.6 * \ingroup Stats7 */8 23 9 24 /** \addtogroup Stats … … 23 38 24 39 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 */ 42 psVector *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 30 49 31 50 /** One-dimensional polynomial */ 32 51 typedef struct 33 52 { 34 int n; ///< Number of terms35 float *coeff; ///< Coefficients36 float *coeffErr; ///< Error in coefficients37 char *mask; ///< Coefficient mask53 int n; ///< Number of terms 54 float *coeff; ///< Coefficients 55 float *coeffErr; ///< Error in coefficients 56 char *mask; ///< Coefficient mask 38 57 } 39 58 psPolynomial1D;
Note:
See TracChangeset
for help on using the changeset viewer.
