bug-gsl
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug-gsl] Bug in gsl_blas_dnrm2


From: Pierrick Bruneau
Subject: [Bug-gsl] Bug in gsl_blas_dnrm2
Date: Fri, 12 Feb 2010 11:26:17 +0100

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

Attachment: Pierrick Bruneau.vcf
Description: Text Data



reply via email to

[Prev in Thread] Current Thread [Next in Thread]