ADMB Documentation  -a65f1c97
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
bet_rand.cpp
Go to the documentation of this file.
1 
8 #include <fvar.hpp>
9 #ifndef OPT_LIB
10  #include <cassert>
11  #include <climits>
12 #endif
13 
18 double better_rand(long int& idum)
19 {
20 #ifndef OPT_LIB
21  assert(idum <= INT_MAX);
22 #endif
23  random_number_generator rng((int)idum);
24  double rr = ((random_number_generator&) rng).better_rand();
25  return rr;
26 }
Description not yet available.
Definition: fvar.hpp:7951
Author: David Fournier Copyright (c) 2008-2012 Regents of the University of California.
double better_rand(long int &idum)
Description not yet available.
Definition: bet_rand.cpp:18