bug-gsl
[Top][All Lists]
Advanced

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

[Bug-gsl] Fwd: Bug in gsl_blas_dnrm2


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

Sorry, I forgot to mention info about my environment :

GSL version 1.12
Mac OS X Snow Leopard
GCC 4.2.1
GSL and source compiled in 386 mode (gcc option -arch i386)

> De : Pierrick Bruneau <address@hidden>
> Date : 12 février 2010 11:26:17 HNEC
> À : address@hidden
> Objet : Bug in gsl_blas_dnrm2
> 
> 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.
> 
> 
> 
> 
> Pierrick Bruneau
> 
> 
> 



reply via email to

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