[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug-gsl] Error in gsl_blas doc
From: |
vtl |
Subject: |
[Bug-gsl] Error in gsl_blas doc |
Date: |
Fri, 01 Jan 2010 15:35:00 +0100 |
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] Error in gsl_blas doc,
vtl <=