3 points from a new user of gsl

Philip Kendall pak@ast.cam.ac.uk
Wed Dec 19 13:20:00 GMT 2001


On Fri, Jun 15, 2001 at 04:25:16PM +0200, Jean-Max Redonnet wrote:
> 
> Just a small problem
> $ /usr/bin/gsl-config --libs
> returns
> -L/usr/lib -lgsl -lm
> This not include -lblas that might be useful sometines. Is it normal ?

Yes, for 0.7; 0.8 (which has been out for a couple of weeks now) include
the BLAS libraries in the output of `gsl-config --libs`.

> Vectors and matrices
> I've not found any function to get the norm of a vector

double gsl_blas_dnrm2 (const gsl_vector * X) gives you the Euclidean
norm (certainly in 0.8 and I guess it's in 0.7).

HTH,

Phil

-- 
  Philip Kendall <pak@ast.cam.ac.uk>
  http://www.srcf.ucam.org/~pak21/



More information about the Gsl-discuss mailing list