Changeset 579 for library/bdm/itpp_ext.h

Show
Ignore:
Timestamp:
08/22/09 14:50:03 (15 years ago)
Author:
smidl
Message:

Implementation of mixtools randun function

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • library/bdm/itpp_ext.h

    r508 r579  
    103103//! implementation of matlab triu function 
    104104void 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) 
     109double randun(); 
     110//! implementation of Mixtools function randun 
     111vec randun(int n); 
     112//! implementation of Mixtools function randun 
     113mat randun(int n, int m); 
     114 
    105115} 
    106116