Hello,(adsbygoogle = window.adsbygoogle || []).push({});

I am working on the two point correlation function in dark matter haloes.

Right now i need to create an array of rundom numbers to compute the estimators.

My question is:

How can i create a random distribution of points in the unit sphere (having in mind its curvature).

I want an array of random numbers 3071 rows, and the random numbers should be in the interval (5,29).

how can i do this?

(and every time i ran it a new distribution of points should arrise.)

**Physics Forums | Science Articles, Homework Help, Discussion**

Join Physics Forums Today!

The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

# How can i create a random number distribution (FORTRAN)

Loading...

**Physics Forums | Science Articles, Homework Help, Discussion**