3 * Copyright (C) 1996, 1997, 1998, 1999, 2000, 2007 Gerard Jungman, Brian Gough
5 * This program is free software; you can redistribute it and/or modify
6 * it under the terms of the GNU General Public License as published by
7 * the Free Software Foundation; either version 3 of the License, or (at
8 * your option) any later version.
10 * This program is distributed in the hope that it will be useful, but
11 * WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13 * General Public License for more details.
15 * You should have received a copy of the GNU General Public License
16 * along with this program; if not, write to the Free Software
17 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
21 #include <gsl/gsl_errno.h>
24 gsl_strerror (const int gsl_errno)
33 return "the iteration has not converged yet";
35 return "input domain error" ;
37 return "output range error" ;
39 return "invalid pointer" ;
41 return "invalid argument supplied by user" ;
43 return "generic failure" ;
45 return "factorization failed" ;
47 return "sanity check failed - shouldn't happen" ;
49 return "malloc failed" ;
51 return "problem with user-supplied function";
53 return "iterative process is out of control";
55 return "exceeded max number of iterations" ;
57 return "tried to divide by zero" ;
59 return "specified tolerance is invalid or theoretically unattainable" ;
61 return "failed to reach the specified tolerance" ;
67 return "loss of accuracy" ;
69 return "roundoff error" ;
71 return "matrix/vector sizes are not conformant" ;
73 return "matrix not square" ;
75 return "singularity or extremely bad function behavior detected" ;
77 return "integral or series is divergent" ;
79 return "the required feature is not supported by this hardware platform";
81 return "the requested feature is not (yet) implemented";
83 return "cache limit exceeded";
85 return "table limit exceeded";
87 return "iteration is not making progress towards solution";
89 return "jacobian evaluations are not improving the solution";
91 return "cannot reach the specified tolerance in F";
93 return "cannot reach the specified tolerance in X";
95 return "cannot reach the specified tolerance in gradient";
99 return "unknown error code" ;