Changeset 661 for library/bdm/itpp_ext.cpp
- Timestamp:
- 10/15/09 00:10:19 (15 years ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
library/bdm/itpp_ext.cpp
r622 r661 115 115 } 116 116 117 //#if 0117 #if 0 118 118 Gamma_RNG::Gamma_RNG (double a, double b) 119 119 { … … 317 317 } 318 318 319 //#endif319 #endif 320 320 std::string num2str (double d) 321 321 { … … 394 394 } 395 395 396 //! Storage of randun() internals 396 397 class RandunStorage 397 398 { … … 402 403 public: 403 404 RandunStorage() : A (16807), M (2147483647) {}; 405 //!set seed of the randun() generator 404 406 void set_seed (double seed0) {seed = seed0;} 407 //! generate randun() sample 405 408 double get() { 406 409 long long tmp = A * seed;