-
derived from Exception, can be constructed with any object as parameter.
It is baseclass to all other GSL Exceptions
These classes are translations of the <gsl/gsl_errno.h> to python
exceptions.
| exception gsl_ArithmeticError( |
) |
-
derived from gsl_Error and exceptions.ArithmeticError,
base of all common arithmetic exceptions
| exception gsl_OverflowError( |
) |
-
derived from gsl_Error and exceptions.OverflowError
| exception gsl_ZeroDivisionError( |
) |
-
derived from gsl_Error and exceptions.ZeroDivisionError
| exception gsl_FloatingPointError( |
) |
-
derived from gsl_Error and exceptions.FloatingPointError
| exception gsl_ArithmeticError( |
) |
-
is derived from gsl_Error and from ArithmeticError .
This exception is the base of all common arithmetic exceptions.
| exception gsl_AccuracyLossError( |
) |
-
is derived from gsl_ArithmeticError .
This exception is raised if the failed to reach the specified tolerance.
| exception gsl_BadFuncError( |
) |
-
is derived from gsl_Error .
This exception is raised if problem with a user-supplied function occur.
| exception gsl_BadLength( |
) |
-
is derived from gsl_Error .
This exception is raised if matrix or vector lengths are not conformant.
| exception gsl_BadToleranceError( |
) |
-
is derived from gsl_Error .
This exception is raised if user specified an tolerance which can not be reached.
| exception gsl_CacheLimitError( |
) |
-
is derived from gsl_Error .
This exception is raised if the cache limit is exceeded.
| exception gsl_DivergeError( |
) |
-
is derived from gsl_ArithmeticError .
This exception is raised if an integral or series is divergent.
| exception gsl_DomainError( |
) |
-
is derived from gsl_Error .
This exception is raised if domain errors occure. e.g. sqrt(-1).
| exception gsl_EOFError( |
) |
-
is derived from gsl_Error and from EOFError .
This exception is raised if
end of file
.
| exception gsl_FactorizationError( |
) |
-
is derived from gsl_Error .
This exception is raised if factorization failed.
| exception gsl_FloatingPointError( |
) |
-
is derived from gsl_Error and from FloatingPointError .
| exception gsl_GenericError( |
) |
-
is derived from gsl_Error .
| exception gsl_InvalidArgumentError( |
) |
-
is derived from gsl_Error .
This exception is raised if an invalid argument is supplied by the user.
| exception gsl_JacobianEvaluationError( |
) |
-
is derived from gsl_ArithmeticError .
This exception is raised if jacobian evaluations are not improving the solution.
| exception gsl_MatrixNotSquare( |
) |
-
is derived from gsl_Error .
This exception is raised if the given matrix is not square.
| exception gsl_MaximumIterationError( |
) |
-
is derived from gsl_ArithmeticError .
This exception is raised if the maximum number of iterations is exceeded.
| exception gsl_NoHardwareSupportError( |
) |
-
is derived from gsl_Error .
This exception is raised if the requested feature is not supported by the hardware.
| exception gsl_NoProgressError( |
) |
-
is derived from gsl_ArithmeticError .
This exception is raised if the iteration is not making progress towards solution.
| exception gsl_NotImplementedError( |
) |
-
is derived from gsl_Error and from NotImplementedError .
This exception is raised if a requested feature is not (yet) implemented .
| exception gsl_OverflowError( |
) |
-
is derived from gsl_Error and from OverflowError .
| exception gsl_PointerError( |
) |
-
is derived from gsl_Error .
This exception is raised if an invalid pointer is found by the C wrapper code
or by the GSL library.
| exception gsl_RangeError( |
) |
-
is derived from gsl_ArithmeticError .
This exception is raised if output would be out or range, e.g. exp(1e100)
.
| exception gsl_RoundOffError( |
) |
-
is derived from gsl_ArithmeticError .
This exception is raised if arithmetic failed because of roundoff error.
| exception gsl_RunAwayError( |
) |
-
is derived from gsl_ArithmeticError .
This exception is raised if iterative process is out of control.
| exception gsl_SanityCheckError( |
) |
-
is derived from gsl_Error .
This exception is raised if a sanity check failed - shouldn't happen.
| exception gsl_SingularityError( |
) |
-
is derived from gsl_ArithmeticError .
This exception is raised if an apparent singularity is detected.
| exception gsl_TableLimitError( |
) |
-
is derived from gsl_Error .
This exception is raised if the table limit is exceeded.
| exception gsl_ToleranceError( |
) |
-
is derived from gsl_ArithmeticError .
This exception is raised if the alghorithm failed to reach the specified tolerance.
| exception gsl_ToleranceFError( |
) |
-
is derived from gsl_ArithmeticError .
This exception is raised if the alghorithm cannot reach the specified
tolerance in F (typically the variation of the evaluated function).
| exception gsl_ToleranceGradientError( |
) |
-
is derived from gsl_ArithmeticError .
This exception is raised if cannot reach the specified tolerance for the gradient.
| exception gsl_ToleranceXError( |
) |
-
is derived from gsl_ArithmeticError .
This exception is raised if cannot reach the specified tolerance in X
(typically a search result).
| exception gsl_UnderflowError( |
) |
-
is derived from gsl_Error and from OverflowError .
| exception gsl_ZeroDivisionError( |
) |
-
is derived from gsl_Error and from ZeroDivisionError .
All the above errors are just translations of the errno to python exceptions.
The following two are specific to pygsl:
| exception pygsl.errors.pygsl_NotImplementedError( |
) |
-
is derived from gsl_Error and from NotImplementedError .
This exception is raised if a feature is requested but not
implemented. Currently only used if a module requests the debugging enviroment
of the init module, but the init module was not compiled with
#define DEBUG=1
| exception pygsl.errors.pygsl_StrideError( |
) |
-
is derived from gsl_SanityCheckError .
GSL uses as strides multiples of the basis type; for a vector or doubles, one
means from one double to the next. Numpy or numarray count the stride in
multiples of the size of a char. Therefore the stride has to be recalculated
before the approbriate GSL function can be called. If that fails this
exception is raised.
Release 0.9, documentation updated on October, 2008.