GSL's Note...

GSL - GNU Scientific Library

Actually this note is for myself using,
thus you may not understand what it is.
It's O.K that you just close the window =P

1. Run FinkCommander to install "gsl" package.

2. Write an example.c C file:

3. There are 2 steps:
a) gcc -Wall -I/sw/include -c example.c
b) gcc -L/sw/lib example.o -lgsl -lgslcblas -lm
then we'll get the "a.out" file.

Run the "a.out" and the output will be ~
$> "J0(5) = -1.775967713143383198e-01"
but in GSL's Manual...
it's "J0(5) = -1.775967713143382920e-01".../sigh

By the way, it is very convenient that it has built-in constants~

so we can just include that header file and use these directly!