Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Contact Us
Online Help
Domain Status
Man Pages

Virtual Servers

Topology Map

Server Agreement
Year 2038

USA Flag



Man Pages
Math::GSL::Errno(3) User Contributed Perl Documentation Math::GSL::Errno(3)

Math::GSL::Errno - Error Handling

    use Math::GSL::Errno qw/:all/;
    print gsl_strerror($GSL_EDOM) . "\n";

General Failure
Iteration has not converged
Domain error; used by mathematical functions when an argument value does not fall into the domain over which the function is defined (like EDOM in the C library)
Range error; used by mathematical functions when the result value is not representable because of overflow or underflow (like ERANGE in the C library)
Invalid Pointer
Invalid argument. This is used to indicate various kinds of problems with passing the wrong argument to a library function (like EINVAL in the C library).Invalid argument. This is used to indicate various kinds of problems with passing the wrong argument to a library function (like EINVAL in the C library).
Generic Failure
Factorization Failed
Sanity Check Failed
No memory available. The system cannot allocate more virtual memory because its capacity is full (like ENOMEM in the C library). This error is reported when a GSL routine encounters problems when trying to allocate memory with malloc.
Problem with user-supplied function
Iterative process is our of control
Exceeded max number of iterations
Division by zero
Invalid user-specified tolerance
Failed to reach the specified tolerance
Loss of accuracy
Failed due to roundoff error
Matrix/vector lengths not compatible
Not a square matrix
Singularity Detected
Integral/Series is divergent
Not supported by hardware
Not implemented
Cache limit exceeded
Table limit exceeded
Iteration not converging
Jacobian not improving solution
Cannot reach tolerance in F
Cannot reach tolerance in X
Cannot reach tolerance in Gradient
End of file

gsl_strerror($gsl_errno) - This function returns a pointer to a string describing the error code gsl_errno. For example, print ("error: gsl_strerror ($status)\n"); would print an error message like error: output range error for a status value of GSL_ERANGE.
gsl_set_error_handler_off() - This function turns off the error handler by defining an error handler which does nothing. This will cause the program to continue after any error, so the return values from any library routines must be checked. This is the recommended behavior for production programs. The previous handler is returned (so that you can restore it later).
2019-01-01 perl v5.28.1

Search for    or go to Top of page |  Section 3 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.