projects
/
htsworkflow.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Added script front-end for primer-design code
[htsworkflow.git]
/
htswanalysis
/
MACS
/
lib
/
gsl
/
gsl-1.11
/
doc
/
examples
/
specfun.c
1
#include <stdio.h>
2
#include <gsl/gsl_sf_bessel.h>
3
4
int
5
main (void)
6
{
7
double x = 5.0;
8
double expected = -0.17759677131433830434739701;
9
10
double y = gsl_sf_bessel_J0 (x);
11
12
printf ("J0(5.0) = %.18f\n", y);
13
printf ("exact = %.18f\n", expected);
14
return 0;
15
}