Instruct: Identify the main and secondary category of Arxiv papers based on the titles and abstracts
Query: Algorithm for normal random numbers   We propose a simple algorithm for generating normally distributed pseudo
random numbers. The algorithm simulates N molecules that exchange energy among
themselves following a simple stochastic rule. We prove that the system is
ergodic, and that a Maxwell like distribution that may be used as a source of
normally distributed random deviates follows when N tends to infinity. The
algorithm passes various performance tests, including Monte Carlo simulation of
a finite 2D Ising model using Wolff's algorithm. It only requires four simple
lines of computer code, and is approximately ten times faster than the
Box-Muller algorithm.

35
The categories of this paper are: mtrl-th
21
The categories of this paper are: adap-org
8
The categories of this paper are: hep-ex
3
The categories of this paper are: physics
29
The categories of this paper are: funct-an
24
The categories of this paper are: dg-ga
16
The categories of this paper are: stat
32
The categories of this paper are: atom-ph
19
The categories of this paper are: eess
26
The categories of this paper are: bayes-an
25
The categories of this paper are: patt-sol
2
The categories of this paper are: math
18
The categories of this paper are: econ
9
The categories of this paper are: nlin
22
The categories of this paper are: chao-dyn
1
The categories of this paper are: cs