summaryrefslogtreecommitdiff
path: root/gsl-1.9/doc/examples/intro.c
blob: bd2848271477d2a12511abc2bebaa3897438b51e (plain)
1
2
3
4
5
6
7
8
9
10
11
#include <stdio.h>
#include <gsl/gsl_sf_bessel.h>

int
main (void)
{
  double x = 5.0;
  double y = gsl_sf_bessel_J0 (x);
  printf ("J0(%g) = %.18e\n", x, y);
  return 0;
}