public inbox for gsl-discuss@sourceware.org
 help / color / mirror / Atom feed
* Small typo.
@ 2002-09-27  2:08 Alan Aspuru-Guzik
  2002-09-30  0:43 ` Brian Gough
  0 siblings, 1 reply; 2+ messages in thread
From: Alan Aspuru-Guzik @ 2002-09-27  2:08 UTC (permalink / raw)
  To: gsl-discuss


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

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Small typo.
  2002-09-27  2:08 Small typo Alan Aspuru-Guzik
@ 2002-09-30  0:43 ` Brian Gough
  0 siblings, 0 replies; 2+ messages in thread
From: Brian Gough @ 2002-09-30  0:43 UTC (permalink / raw)
  To: Alan Aspuru-Guzik; +Cc: gsl-discuss

Alan Aspuru-Guzik writes:
 >  Hi fellow GSL'ers, I found out that there is a small typo in the
 > documentation for the sorting functions: 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.

Thanks for the bug report... now fixed.

Brian

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2002-09-29 19:10 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-09-27  2:08 Small typo Alan Aspuru-Guzik
2002-09-30  0:43 ` Brian Gough

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).