This is the mail archive of the
gsl-discuss@sources.redhat.com
mailing list for the GSL project.
Re: hypergeometric function
- From: "Dan, Ho-Jin" <hjdan at sys713 dot kaist dot ac dot kr>
- To: s dot koch at seh-zuelpich dot de
- Cc: gsl-discuss at sourceware dot cygnus dot com
- Date: Wed, 05 Dec 2001 02:55:34 +0900
- Subject: Re: hypergeometric function
- References: <NEBBIBGCPKOPEIODNFDIAEIECAAA.s.koch@seh-zuelpich.de>
Hi,
I couldn't find the discontinuty of the hypergeometry graph.
please, check the file hyperg.gif,
Yours,
Dan, Ho-Jin
Stefan Koch wrote:
>Hello,
>
>I'm a new user of the gsl-library. Everything works well. But when I tried
>to look at the hypergeometric function, I recognized a discontinuity (jump)
>in the graphic-drawing of the function. I think this should not be so. I
>used the following code segment:
>
--snip
#include <stdio.h>
#include <gsl/gsl_sf.h>
int main()
{
int i, m=1000;
int n=3, p=8;
double result, x;
for (i=0; i<m; i++) {
x = i*0.1;
result = gsl_sf_hyperg_1F1_int(-n, p+1, x);
printf("%f %f\n", x, result);
}
}