ADMB Documentation
-a65f1c97
|
Description not yet available. More...
Go to the source code of this file.
Functions | |
double | auto_rand (long int &idum, int reset) |
Random number generator. More... | |
double | randn (long int &n) |
Returns a random number. More... | |
void | reinitialize_auto_rand () |
Description not yet available. More... | |
Description not yet available.
Definition in file ranf_ni.cpp.
double auto_rand | ( | long int & | idum, |
int | reset | ||
) |
Random number generator.
The implementation of this algorithm was inspired by "Numerical Recipes in C", 2nd edition, Press, Teukolsky, Vetterling, Flannery, chapter 7
Definition at line 84 of file ranfill.cpp.
Referenced by dvar_matrix::colfill_randu(), dmatrix::colfill_randu(), dvar_matrix::colfill_randu_ni(), dmatrix::colfill_randu_ni(), dvector::fill_randbi(), dvar_vector::fill_randbi(), dvector::fill_randbi_ni(), dvar_vector::fill_randbi_ni(), dvector::fill_randu(), dvar_vector::fill_randu(), dvector::fill_randu_ni(), dvar_vector::fill_randu_ni(), randn(), reinitialize_auto_rand(), dvar_matrix::rowfill_randu(), dmatrix::rowfill_randu(), dvar_matrix::rowfill_randu_ni(), and dmatrix::rowfill_randu_ni().
double randn | ( | long int & | n | ) |
void reinitialize_auto_rand | ( | ) |
Description not yet available.
Definition at line 71 of file ranfill.cpp.
Referenced by dvar_matrix::colfill_randn(), dmatrix::colfill_randn(), dvar_matrix::colfill_randu(), dmatrix::colfill_randu(), dvector::fill_randbi(), dvar_vector::fill_randbi(), dvector::fill_randn(), dvar_vector::fill_randn(), dvar_matrix::fill_randn(), dmatrix::fill_randn(), d3_array::fill_randn(), dvar3_array::fill_randn(), dvector::fill_randu(), dvar_vector::fill_randu(), dvar_matrix::fill_randu(), dmatrix::fill_randu(), d3_array::fill_randu(), dvar3_array::fill_randu(), dvar_matrix::rowfill_randn(), dmatrix::rowfill_randn(), dvar_matrix::rowfill_randu(), and dmatrix::rowfill_randu().
Generated on Wed Sep 7 2022 00:01:32 for ADMB Documentation by 1.8.5 |