Home
last modified time | relevance | path

Searched refs:randreal (Results 1 – 13 of 13) sorted by relevance

/dports/comms/yagiuda/yagiuda-1.19/src/
H A Drandomise.c32 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 Drandom.c47 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 Dgaussian.c20 x=2.0*randreal()-1.0; in gaussian()
21 y=2.0*randreal()-1.0; in gaussian()
H A Drantest.c21 printf("%f %d\n", randreal(), randint()); in main()
25 realtype+=randreal(); in main()
H A Dgenetic_algorithm_lib.c285 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 Dyagi.h165 double randreal(void);
/dports/math/py-mathics/Mathics3-2.2.0/mathics/builtin/numbers/
H A Drandomnumbers.py109 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 Dpaslib.h150 extern "C" double randreal();
153 inline double Random() { return randreal(); } in Random()
H A Dpaslib.c76 double randreal() in randreal() function
/dports/science/bagel/bagel-1.2.2/src/integral/comprys/interpolate/
H A Dcomplex_rys_gmp.cc130 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 Dcomplex_main.cc63 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 DChangeLog14677 bits, fixes inaccuracy with randreal
/dports/math/mathics-django/Mathics-Django-2.2.0/
H A DChangeLog17164 bits, fixes inaccuracy with randreal