[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Help-gsl] Computation of gsl_sf_hyperg_1F1 fails for some values
From: |
Daniel Schury |
Subject: |
Re: [Help-gsl] Computation of gsl_sf_hyperg_1F1 fails for some values |
Date: |
Fri, 10 May 2013 13:20:45 +0200 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130404 Thunderbird/17.0.5 |
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hi Sam,
thanks for your answer.
> Is that double negation really needed? Seems redundant, or am I
> missing something?
I don't know where the double minus came from, but the third parameter
is in fact -1.0/2.0*pow((E1-x)/dE,2.0)). Then The value should be
something around 457.
> In this case; in C the ^ operator is a bitwise xor and doesn't raise
> things to a power.
As you can see, I changed the ^ to pow(), but that doesn't help. The
Origin C compiler understands the ^, so that's not the problem.
> You be better off reporting the actual values of a, b and x that
> caused the program to crash. When you printed these out you may
> notice that something strange is happening.
The given values _are_ values I got problems with.
Interestingely, the last time I got a new error message: "R6025 - pure
virtual function call" But the description given by microsoft
(http://support.microsoft.com/kb/125749/en-us) doesn't help me.
- --
Freundliche Grüße
Daniel Schury
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)
Comment: Using GnuPG with undefined - http://www.enigmail.net/
iEYEARECAAYFAlGM2A0ACgkQk7XSfqVgB0prmwCdHYtcLtYpUT7GlZ61o5UEPHag
X90AoJ7AVqvLnO50KN6KutWz8HdtpQpN
=CLk+
-----END PGP SIGNATURE-----
- [Help-gsl] Computation of gsl_sf_hyperg_1F1 fails for some values, Daniel Schury, 2013/05/10
- Re: [Help-gsl] Computation of gsl_sf_hyperg_1F1 fails for some values, Sam Mason, 2013/05/10
- Re: [Help-gsl] Computation of gsl_sf_hyperg_1F1 fails for some values,
Daniel Schury <=
- Re: [Help-gsl] Computation of gsl_sf_hyperg_1F1 fails for some values, Sam Mason, 2013/05/10
- Re: [Help-gsl] Computation of gsl_sf_hyperg_1F1 fails for some values, Daniel Schury, 2013/05/10
- Re: [Help-gsl] Computation of gsl_sf_hyperg_1F1 fails for some values, Sam Mason, 2013/05/10
- Re: [Help-gsl] Computation of gsl_sf_hyperg_1F1 fails for some values, Daniel Schury, 2013/05/10
- [Help-gsl] gsl_sf_hyperg_1F1 need better(?) values of the exp()-function, Daniel Schury, 2013/05/13