mirror of
https://github.com/saitohirga/WSJT-X.git
synced 2024-11-29 23:58:39 -05:00
eedb6d3458
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@6275 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
17 lines
345 B
Fortran
17 lines
345 B
Fortran
subroutine noisegen(d4,nmax)
|
|
|
|
real*4 d4(4,nmax)
|
|
|
|
call init_random_seed() ! seed Fortran RANDOM_NUMBER generator
|
|
call sgran() ! see C rand generator (used in gran)
|
|
|
|
do i=1,nmax
|
|
d4(1,i)=gran()
|
|
d4(2,i)=gran()
|
|
d4(3,i)=gran()
|
|
d4(4,i)=gran()
|
|
enddo
|
|
|
|
return
|
|
end subroutine noisegen
|