GSP
Quick Navigator

Search Site

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

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages


Manual Reference Pages  -  MATH::GSL::ERRNO (3)

.ds Aq ’

NAME

Math::GSL::Errno - Error Handling

CONTENTS

SYNOPSIS



    use Math::GSL::Errno qw/:all/;
    gsl_set_error_handler_off();

    print gsl_strerror($GSL_EDOM) . "\n";



STATUS CODES

o $GSL_SUCCESS

Success

o $GSL_FAILURE

General Failure

o $GSL_CONTINUE

Iteration has not converged

o $GSL_EDOM

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)

o $GSL_ERANGE

Range error; used by mathematical functions when the result value is not representable because of overflow or underflow (like ERANGE in the C library)

o $GSL_EFAULT

Invalid Pointer

o $GSL_EINVAL

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).

o $GSL_EFAILED

Generic Failure

o $GSL_EFACTOR

Factorization Failed

o $GSL_ESANITY

Sanity Check Failed

o $GSL_ENOMEM

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.

o $GSL_EBADFUNC

Problem with user-supplied function

o $GSL_ERUNAWAY

Iterative process is our of control

o $GSL_EMAXITER

Exceeded max number of iterations

o $GSL_EZERODIV

Division by zero

o $GSL_EBADTOL

Invalid user-specified tolerance

o $GSL_ETOL

Failed to reach the specified tolerance

o $GSL_EUNDRFLW

Underflow

o $GSL_EOVRFLW

Overflow

o $GSL_ELOSS

Loss of accuracy

o $GSL_EROUND

Failed due to roundoff error

o $GSL_EBADLEN

Matrix/vector lengths not compatible

o $GSL_ENOTSQR

Not a square matrix

o $GSL_ESING

Singularity Detected

o $GSL_EDIVERGE

Integral/Series is divergent

o $GSL_EUNSUP

Not supported by hardware

o $GSL_EUNIMPL

Not implemented

o $GSL_ECACHE

Cache limit exceeded

o $GSL_ETABLE

Table limit exceeded

o $GSL_ENOPROG

Iteration not converging

o $GSL_ENOPROGJ

Jacobian not improving solution

o $GSL_ETOLF

Cannot reach tolerance in F

o $GSL_ETOLX

Cannot reach tolerance in X

o $GSL_ETOLG

Cannot reach tolerance in Gradient

o $GSL_EOF

End of file

FUNCTIONS

o gsl_error
o gsl_stream_printf
o 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.
o gsl_set_error_handler
o 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).
o gsl_set_stream_handler
o gsl_set_stream
Search for    or go to Top of page |  Section 3 |  Main Index


perl v5.20.3 MATH::GSL::ERRNO (3) 2016-04-03

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