Small typo.

Alan Aspuru-Guzik aspuru@okra.cchem.Berkeley.edu
Fri Sep 27 02:08:00 GMT 2002


Hi fellow GSL'ers,

I found out that there is a small typo in the documentation for the
sorting functions:

An example has the following two lines:

  (...)
  gsl_sort_vector_index (perm, v);
  gsl_permutation_invert (rank, perm);
  (...)

which should be changed to:

  (...)
  gsl_sort_vector_index (perm, v);
  gsl_permutation_inverse (rank, perm);
  (...)

There is no function gsl_permutation_invert in any *.h file, and the
gsl_permutation_inverse function matches the previous prototype, and seems
to do what 'invert' was supposed to do in the example.

Greetings,
Alan

-- 

Alan Aspuru-Guzik                    Dios mueve al jugador, y éste, la pieza.
(510)642-5911 UC Berkeley           ¿Qué Dios detrás de Dios la trama empieza
(925)422-8739 LLNL                de polvo y tiempo y sueño y agonías? -Borges



More information about the Gsl-discuss mailing list