C programs to compute rotation matrices and rotated shperical harmonics expansions using the algorithm described in
D. Pinchon and Ph. Hoggan, Phys A 40 (2007), 1597-1610

Installation:
  gunzip Rotation3.tar.gz
then
  tar -xvf Rotation3.tar
that will create directories
  Rotation3/Lib with nothing inside
  Rotation3/Src  with the source C-code
  Rotation3/Bin  with files that store J_l matrices

To install the programs do
  cd Rotation3
  make

To run the example programs do
  cd Bin
  ./test_rotation 20 0.1 0.2 0.3  (or any other angles for the 3 last arguments)

  ./time_rotation 50 60 (50 is lmax and 60 the number of iterations)
That will create a file  "res.dat" (execution time results)

This code is distributed under the GNU General Public License (see COPYING).

Didier Pinchon, July 13th, 2011
