Changeset 1607 in Sophya for trunk/SophyaLib/BaseTools/srandgen.c
- Timestamp:
- Jul 31, 2001, 10:08:36 AM (24 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/SophyaLib/BaseTools/srandgen.c
r1586 r1607 35 35 */ 36 36 37 /*! \defgroup RandGen 38 Random number generators */ 39 40 /*! \ingroup SysTools 37 /*! \ingroup BaseTools 41 38 \fn frand01 42 39 Returns a random number (float) with flat distribution between 0 ... 1 43 40 */ 44 /*! \ingroup SysTools41 /*! \ingroup BaseTools 45 42 \fn drand01 46 43 Returns a random number (double) with flat distribution between 0 ... 1 47 44 */ 48 /*! \ingroup SysTools45 /*! \ingroup BaseTools 49 46 \fn frandpm1() 50 47 Returns a random number (float) with flat distribution between -1 ... 1 51 48 */ 52 /*! \ingroup SysTools49 /*! \ingroup BaseTools 53 50 \fn drandpm1() 54 51 Returns a random number (double) with flat distribution between -1 ... 1 … … 64 61 */ 65 62 66 /*! \ingroup SysTools63 /*! \ingroup BaseTools 67 64 Fast initialisation of the random number generator \c (drand48) 68 65 using a \c long type value (cf \c srand48 ) … … 83 80 -- 84 81 */ 85 /*! \ingroup SysTools82 /*! \ingroup BaseTools 86 83 complete initialisation of the random number generator \c (drand48) 87 84 using a \c using 48 bits (cf \c seed48 ) … … 103 100 -- 104 101 */ 105 /*! \ingroup SysTools102 /*! \ingroup BaseTools 106 103 Returns the status (48 bits) of the random number generator \c (drand48) 107 104 (cf \c seed48 ) … … 135 132 -- 136 133 */ 137 /*! \ingroup SysTools134 /*! \ingroup BaseTools 138 135 Automatic initialisation using the present time 139 136 */ … … 187 184 -- 188 185 */ 189 /*! \ingroup SysTools186 /*! \ingroup BaseTools 190 187 Normal (Gaussian) random number generator (Mean=0., Sigma=1.) 191 188 */ … … 230 227 -- 231 228 */ 232 /*! \ingroup SysTools229 /*! \ingroup BaseTools 233 230 Normal (Gaussian) random number generator with the specified mean 234 231 (\c am ) and sigma (\c s )
Note:
See TracChangeset
for help on using the changeset viewer.