Hi All!

Happy New Year!

Thank you for making GSL!

But: There is a minor bug in 
http://www.gnu.org/software/gsl/manual/html_node/Level-1-GSL-BLAS-Interface.html:

<QUOTE>
— Function: int gsl_blas_srotg (float a[], float b[], float c[], float s[])
— Function: int gsl_blas_drotg (double a[], double b[], double c[], double s[])
These functions compute a Givens rotation (c,s) which zeroes the vector (a,b),

          [  c  s ] [ a ] = [ r ]
          [ -s  c ] [ b ]   [ 0 ]

The variables a and b are overwritten by the routine.
</QUOTE>

should be:

— Function: int gsl_blas_srotg (gsl_vector_float *X, gsl_vector_float *Y, float 
c, float s)
— Function: int gsl_blas_drotg (gsl_vector *X, gsl_vector *Y, double c, double 
s)
These functions compute a Givens rotation (c,s) which zeroes the vector (X,Y),

          [  c  s ] [ X ] = [ r ]
          [ -s  c ] [ Y ]   [ 0 ]

The variables c and s are overwritten by the routine.

Kind regards!

VT

--
Dr. Volker Thieme
Rochlitzstraße 65
Leipzig
04229
Germany

volker.thieme_(at)_mac.com





_______________________________________________
Bug-gsl mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/bug-gsl

Reply via email to