Numerical Evaluation of the 2F1 hypergeometric function for largeand complex value

Discussion in 'C Programming' started by Peter Graf, May 20, 2008.

  1. Peter Graf

    Peter Graf Guest

    Hi,

    i tried to evaluate the 2F1(a,b,c,z)
    hypergeometric function for a=1, b=2-0.1i,
    c=2.5-0.01i and z=-5e8. I've used the numerical
    recipes routine but this routine couldn't act with
    this large value of z. Does someone know a C or
    C++ routine, which can act with complex b, c and
    large values of z.

    Thanks in advance
    Peter
    Peter Graf, May 20, 2008
    #1
    1. Advertising

  2. Peter Graf

    user923005 Guest

    On May 20, 1:57 pm, Peter Graf <Graf@_nospam_gmx.de> wrote:
    > Hi,
    >
    > i tried to evaluate the 2F1(a,b,c,z)
    > hypergeometric function for a=1, b=2-0.1i,
    > c=2.5-0.01i and z=-5e8. I've used the numerical
    > recipes routine but this routine couldn't act with
    > this large value of z. Does someone know a C or
    > C++ routine, which can act with complex b, c and
    > large values of z.


    Questions of this nature are better asked on news:sci.math.num-
    analysis.
    This one is so popular it ought to be a FAQ.

    I have posted code for this before, and I recall that it was
    surprisingly simple.
    Can't find the code right now, though.
    user923005, May 21, 2008
    #2
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. lou
    Replies:
    1
    Views:
    661
  2. Ilias Lazaridis
    Replies:
    2
    Views:
    378
    Ilias Lazaridis
    Apr 24, 2005
  3. Raven

    Hypergeometric distribution

    Raven, Dec 26, 2005, in forum: Python
    Replies:
    24
    Views:
    2,603
    Bengt Richter
    Jan 5, 2006
  4. Edward Hua
    Replies:
    2
    Views:
    511
    Thomas Lumley
    Oct 13, 2005
  5. makepeace

    Hypergeometric Distribution

    makepeace, May 5, 2006, in forum: Perl Misc
    Replies:
    10
    Views:
    303
    zentara
    May 6, 2006
Loading...

Share This Page