This is the mail archive of the gsl-discuss@sources.redhat.com mailing list for the GSL project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Small typo.


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]