- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi, I have a question about random numbers.
I can get uniformly distributed random numbers using the following subroutine:
RANDOM_NUMBER()
But, is there a subroutine to get normally distributed random numbers?
And what about a random permutation of the integers 1:n (e.g. randperm in matlab)?
Many Thanks!
Link Copied
1 Reply
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Not as a standard Fortran intrinsic. There are many libraries of random number routines out there/ Intel MKL,included with your Fortran, also has many random number routines.

Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page