[Help-gsl] Re: Cannot compile example.c

2006-06-08 Thread Thomas Weber
Am Donnerstag, den 08.06.2006, 19:35 -0700 schrieb Nicolás Quesada: > I'm having the same problem compiling the same program under FreeBSD : I type: > > gcc -L/usr/local/lib example.o -lgsl -lgslcblas -lm > and > gcc example.o -lgsl -lgslcblas -lm > > gcc /usr/local/include/gsl/ example.o -lgsl

[Help-gsl] Re: Cannot compile example.c

2006-06-08 Thread Nicolás Quesada
I'm having the same problem compiling the same program under FreeBSD : I type: gcc -L/usr/local/lib example.o -lgsl -lgslcblas -lm and gcc example.o -lgsl -lgslcblas -lm gcc /usr/local/include/gsl/ example.o -lgsl -lgslcblas -lm It is installed in /usr/local/include/gsl/ the error I get is: e

Re: [Help-gsl] Comments/questions about BFGS algorithm implemented for the GSL

2006-06-08 Thread James Bergstra
On Wed, Jun 07, 2006 at 08:17:38PM +0100, Brian Gough wrote: > Alan W. Irwin writes: > > To access my code, test results, and documentation look at the following > > SourceForge web pages: ... > > Thanks for the update.. this is on my todo list Elaborate? I am guessing, that the todo list has:

[Help-gsl] Bug (or not?) in multiroots/fdjacobian.c

2006-06-08 Thread eknecronzontas
Since I can't quite decide if this is a bug, I'll post it here first... The stepsize for finite-differencing in gsl-1.8/multiroots/fdjacobian.c is specified by the lines > double xj = gsl_vector_get (x, j); > double dx = epsrel * fabs (xj); This is, of course mathematically correct. Nevertheless

Re: [Help-gsl] Cannot compile example.c

2006-06-08 Thread Jochen Küpper
César Asensio <[EMAIL PROTECTED]> writes: > The command used for compilation is simply > > gcc example.c > > and the error message is > > /cygdrive/c/temp/ccvkPjgO.o:example.c:(.text+0x3a): undefined reference to > `_gsl_sf_bessel_J0' > collect2: ld returned 1 exit status > > Someone can help

Re: [Help-gsl] MLE for random distribution parameters

2006-06-08 Thread Brian Gough
GAUTAM DIVGI writes: > Is there a GSL extension to compute maximum likelyhood estimates of various > random number distributions from empirical data? MLE for some distributions > is pretty straightforward ( exponential ) but for others like gamma, beta > distributions some computation / code-wr

Re: [Help-gsl] Cannot compile example.c

2006-06-08 Thread Brian Gough
César Asensio writes: > The command used for compilation is simply > > gcc example.c > Hello, You probably figured this out but you need gcc example.c -lgsl -lgslcblas -lm See the GSL manual for more examples. -- Brian Gough Network Theory Ltd, Publishing the GSL Manual - http:

Re: [Help-gsl] Cannot compile example.c

2006-06-08 Thread Thomas Weber
Hi, Am Montag, den 05.06.2006, 11:10 +0200 schrieb César Asensio: > The command used for compilation is simply > > gcc example.c > > and the error message is > > /cygdrive/c/temp/ccvkPjgO.o:example.c:(.text+0x3a): undefined reference to > `_gsl_sf_bessel_J0' > collect2: ld returned 1 exit

[Help-gsl] Cannot compile example.c

2006-06-08 Thread César Asensio
The following minimal program example.c, found in the info file for GSL, does not compile on Cygwin. #include #include int main (void) { double x = 5.0; double y = gsl_sf_bessel_J0 (x); printf ("J0(%g) = %.18e\n", x, y); return 0; } The comm