The LAPACK forum has moved to https://github.com/Reference-LAPACK/lapack/discussions.

Bessel Functions of the First Kind

Open discussion regarding features, bugs, issues, vendors, etc.

Bessel Functions of the First Kind

Postby DavidB » Sat Jul 24, 2010 6:06 pm

Hello.

I am looking for a routine for computing Bessel functions of the first kind, of order n:

J [sub]n[/sub] (x) = . . .

In my intended applications, both n and the argument of the function, x, will be real and positive. n is an integer.
I have done some searches and get MANY results, so I am not sure which routine is best.

What is the recommended routine in the NETLIB library for computing J sub n?
DavidB
 
Posts: 38
Joined: Thu Dec 15, 2005 1:49 pm
Location: Vancouver, B.C. Canada

Re: Bessel Functions of the First Kind

Postby Julien Langou » Mon Jul 26, 2010 3:27 am

There is no implementation of the Bessel functions in LAPACK.
Julien Langou
 
Posts: 835
Joined: Thu Dec 09, 2004 12:32 pm
Location: Denver, CO, USA

Re: Bessel Functions of the First Kind

Postby cottrell » Mon Jul 26, 2010 4:57 pm

The cephes library does a good job on this sort of thing:
http://www.netlib.org/cephes/

Allin Cottrell
cottrell
 
Posts: 73
Joined: Thu Jan 15, 2009 1:40 pm

Re: Bessel Functions of the First Kind

Postby DavidB » Sat Jul 31, 2010 2:19 pm

Thanks, Allin.

I hadn't come across cephes before. It seems to have code for a good variety of problems, including elliptical integrals and functions (which was going to be one of my next posts). And the source code is in C, which I like.
DavidB
 
Posts: 38
Joined: Thu Dec 15, 2005 1:49 pm
Location: Vancouver, B.C. Canada


Return to User Discussion

Who is online

Users browsing this forum: No registered users and 2 guests