Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

VB(A) library of Bessel functions

30 views
Skip to first unread message

mkffll

unread,
Jan 7, 2010, 3:35:03 AM1/7/10
to
Hi all,

does anybody knows about a free VB(A) library containing all kind
Bessel functions for real and / or complex arguments. Any feedback
would be much appreciated.

Many thanks in advance,

Marco

Auric__

unread,
Jan 7, 2010, 10:38:10 AM1/7/10
to
On Thu, 07 Jan 2010 08:35:03 GMT, mkffll wrote:

> does anybody knows about a free VB(A) library containing all kind
> Bessel functions for real and / or complex arguments. Any feedback
> would be much appreciated.

GNU Scientific Library:
http://gnuwin32.sourceforge.net/packages/gsl.htm

(It would probably be best to get the "Complete package, except sources"
package. Trust me, you *need* the docs for this one.)

Wikipedia has some demo C code at the GSL page for calculating the Bessel
function:
http://en.wikipedia.org/wiki/GNU_Scientific_Library#Example

It looks like it's as simple as:
declare function gsl_sf_bessel_J0 lib "libgsl.dll" (x as double) as double
'...
dim x as double, y as double
x = 5
y = gsl_sf_bessel_J0(x)

(Note that I haven't actually *tried* using GSL under VBanything. The above
sample code might not work, YMMV, etc.)

One *important* note is that if you use GSL, the program (or whatever) that
calls it is automatically covered by the GPL... I think. (IANAL.) If you
don't want to GPL your code, you should probably find something else. (Not a
problem for *me*, but it's not *my code*.)

--
Stumble in your soul. Give yourself to me.

Druidic Ranger

unread,
Jan 8, 2010, 11:13:20 AM1/8/10
to
On Jan 7, 8:38 am, "Auric__" <not.my.r...@email.address> wrote:

> --
> Stumble in your soul. Give yourself to me.

This signature is not appropriate to this newsfroup. Please stop
writing subliminal visual basic code. The human brain is not a
compiler.

--
William Gates

Auric__

unread,
Jan 8, 2010, 12:03:57 PM1/8/10
to

I'll stop when you show me where I'm writing subliminal code.

(The quoted sig is from the Lacuna Coil song "Comalies".)

(Good sigmonster. Have a cookie.)

--
01000111 01101111
01100110 01110101 01100011 01101011
01111001 01101111 01110101 01110010 01110011 01100101 01101100 01100110

MoiInAust

unread,
Jan 9, 2010, 12:54:10 AM1/9/10
to

"Druidic Ranger" <nochs...@yahoo.com> wrote in message
news:f4450da1-d4ae-47ac...@26g2000yqo.googlegroups.com...

Yes, newsfroups should not be polluted by instinctive proofreaders...


0 new messages