Hi everyone,

This BLAS interface function should compute the Euclidian norm of a gsl_vector, 
but I just noticed that the obtained result is always wrong.

For example, consider the vector  : [0 1 2 3 4 5 6 7 8 9]

Normally the norm should be 16.88, and gsl_blas_dnrm2 produces 10.00...
Or maybe I missed something ?

Anyway, I attached a little source sample that reproduces this case, and 
compares to what is obtained using gsl_blas_ddot.

Attachment: main.c
Description: Binary data



Pierrick Bruneau

BEGIN:VCARD
VERSION:3.0
N:Bruneau;Pierrick;;;
FN:Pierrick Bruneau
ORG:Université de Nantes;
EMAIL;type=INTERNET;type=WORK;type=pref:[email protected]
TEL;type=WORK;type=pref:02 40 68 30 14
TEL;type=CELL:06 25 43 70 26
item1.ADR;type=WORK;type=pref:;;Rue Christian Pauc;Nantes;;44300;France
item1.X-ABADR:fr
X-ABUID:CE70FC57-D1AF-4984-B7E5-E9EDBCD1B7EA\:ABPerson
END:VCARD

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

Reply via email to