Changeset 579 for library/bdm/itpp_ext.h
- Timestamp:
- 08/22/09 14:50:03 (15 years ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
library/bdm/itpp_ext.h
r508 r579 103 103 //! implementation of matlab triu function 104 104 void triu(mat &A); 105 106 //! implementation of Mixtools function randun 107 //! This function uses Park-Miller linear congruential pseudo-random generator with A=16807 B=0 M=2^31-1 108 //! (it spans all 2^31-1 numbers and has good statistical properties) 109 double randun(); 110 //! implementation of Mixtools function randun 111 vec randun(int n); 112 //! implementation of Mixtools function randun 113 mat randun(int n, int m); 114 105 115 } 106 116