Changeset 4330 for trunk/psLib/src/math/psRandom.c
- Timestamp:
- Jun 20, 2005, 5:01:37 PM (21 years ago)
- File:
-
- 1 edited
-
trunk/psLib/src/math/psRandom.c (modified) (6 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psLib/src/math/psRandom.c
r4083 r4330 10 10 * @author GLG, MHPCC 11 11 * 12 * @version $Revision: 1. 8$ $Name: not supported by cvs2svn $13 * @date $Date: 2005-06- 01 23:51:25$12 * @version $Revision: 1.9 $ $Name: not supported by cvs2svn $ 13 * @date $Date: 2005-06-21 03:01:37 $ 14 14 * 15 15 * Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii … … 57 57 58 58 psRandom *psRandomAlloc(psRandomType type, 59 psU64seed)59 unsigned long seed) 60 60 { 61 61 gsl_rng *r = NULL; … … 86 86 87 87 void psRandomReset(psRandom *rand, 88 psU64seed)88 unsigned long seed) 89 89 { 90 90 // Check null psRandom … … 103 103 } 104 104 105 psF64psRandomUniform(const psRandom *r)105 double psRandomUniform(const psRandom *r) 106 106 { 107 107 // Check null psRandom variable … … 116 116 } 117 117 118 psF64psRandomGaussian(const psRandom *r)118 double psRandomGaussian(const psRandom *r) 119 119 { 120 120 // Check null psRandom variable … … 130 130 } 131 131 132 psF64 psRandomPoisson(const psRandom *r, psF64mean)132 double psRandomPoisson(const psRandom *r, double mean) 133 133 { 134 134 // Check null psRandom variable
Note:
See TracChangeset
for help on using the changeset viewer.
