ADMB Documentation
-a65f1c97
Main Page
Function Reference
Classes
Source Code
Related Pages
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Groups
Pages
src
nh99
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
}
random_number_generator
Description not yet available.
Definition:
fvar.hpp:7951
fvar.hpp
Author: David Fournier Copyright (c) 2008-2012 Regents of the University of California.
better_rand
double better_rand(long int &idum)
Description not yet available.
Definition:
bet_rand.cpp:18
Generated on Wed Sep 7 2022 00:01:26 for ADMB Documentation by
1.8.5