Searched refs:randreal (Results 1 – 13 of 13) sorted by relevance
/dports/comms/yagiuda/yagiuda-1.19/src/ |
H A D | randomise.c | 32 y=1+0.02*max_percent*(randreal()-0.5); in randomise() 40 y=1+0.02*max_percent*(randreal()-0.5); in randomise() 48 y=1+0.02*max_percent*(randreal()-0.5); in randomise() 56 y=1+0.02*max_percent*(randreal()-0.5); in randomise() 67 y=1+0.02*max_percent*(randreal()-0.5); in randomise() 74 y=1+0.02*max_percent*(randreal()-0.5); in randomise() 80 y=1+0.02*max_percent*(randreal()-0.5); in randomise() 88 a=1+(0.1*randreal()); /* 1.00 to 1.1 */ in randomise()
|
H A D | random.c | 47 double randreal(void) in randreal() function 60 x=2.0*randreal()-1.0 ; in randnorm() 61 y=2.0*randreal()-1.0 ; in randnorm()
|
H A D | gaussian.c | 20 x=2.0*randreal()-1.0; in gaussian() 21 y=2.0*randreal()-1.0; in gaussian()
|
H A D | rantest.c | 21 printf("%f %d\n", randreal(), randint()); in main() 25 realtype+=randreal(); in main()
|
H A D | genetic_algorithm_lib.c | 285 if (randreal()<pmutate) mutate(Pop2[a].gene) ; in Selection() 286 if (randreal()<ptrans) transloc(Pop2[a].gene) ; in Selection() 297 if (randreal()<pcross) in Selection() 307 if (randreal()<psimplex) { in Selection()
|
H A D | yagi.h | 165 double randreal(void);
|
/dports/math/py-mathics/Mathics3-2.2.0/mathics/builtin/numbers/ |
H A D | randomnumbers.py | 109 def randreal(self, a, b, size=None): member in NoNumPyRandomEnv 124 def randreal(self, a, b, size=None): member in NumPyRandomEnv 406 return Real(rand.randreal(min_value, max_value)) 429 rand.randreal(min_value, max_value, result), Real 511 real = Real(rand.randreal(min_value.real, max_value.real)) 512 imag = Real(rand.randreal(min_value.imag, max_value.imag)) 536 real = rand.randreal(min_value.real, max_value.real, py_ns) 537 imag = rand.randreal(min_value.imag, max_value.imag, py_ns)
|
/dports/lang/ptoc/ptoc/ |
H A D | paslib.h | 150 extern "C" double randreal(); 153 inline double Random() { return randreal(); } in Random()
|
H A D | paslib.c | 76 double randreal() in randreal() function
|
/dports/science/bagel/bagel-1.2.2/src/integral/comprys/interpolate/ |
H A D | complex_rys_gmp.cc | 130 const mpreal randreal = (rand()%(rrange*100)); in randcomplex() local 132 const mpreal realdouble = randreal/100 + mintr; in randcomplex() 144 const mpreal randreal = (source%(rrange*100)); in randconstrained() local 145 const mpreal realdouble = randreal/100 + mintr; in randconstrained()
|
H A D | complex_main.cc | 63 const double randreal = (rand()%(rrange)); in randcomplexdoub() local 65 const double realdouble = randreal/10000 + mintr; in randcomplexdoub()
|
/dports/math/py-mathics/Mathics3-2.2.0/ |
H A D | ChangeLog | 14677 bits, fixes inaccuracy with randreal
|
/dports/math/mathics-django/Mathics-Django-2.2.0/ |
H A D | ChangeLog | 17164 bits, fixes inaccuracy with randreal
|