
From:  Kwangshin Choi 
Subject:  [Helpgsl] Question about one dimensional root finding. 
Date:  Wed, 12 Sep 2012 14:31:44 0700 
Useragent:  Mozilla/5.0 (X11; Linux x86_64; rv:15.0) Gecko/20120827 Thunderbird/15.0 
Hi,I am economics graduate student writing paper with GSL library. It is really great one.
My question is as follows.1. I am using derivative solver with newton method (gsl_root_fdfsolver_newton)
2. This one works fine with some parameter set but makes error with other parameter sets ( gsl: newton.c:88: ERROR: function value is not finite) and make an exit.
3. I'd like to set the value of "x (root)" as 0 when it make error with certain parameters and proceed to next iteration without make an exit.
How can I solve this problem. Thank you. Kwangshin Choi
[Prev in Thread]  Current Thread  [Next in Thread] 