|
From: | Klaus Huthmacher |
Subject: | Re: [Help-gsl] Numerical integration QAGS cannot reach tolerance and aborts |
Date: | Sat, 4 Oct 2014 19:08:54 +0200 |
User-agent: | SquirrelMail/1.4.23 [SVN] |
Dear Vipin, > // double f = cos(n*x)*log((cos(a) - cos(x))/(x - a));// Is it possible that the argument of your logarithm can be zero for PI? Or that you divide by zero, if x-a becomes zero for PI? Kind regards, Klaus.
[Prev in Thread] | Current Thread | [Next in Thread] |