| Safe Haskell | None |
|---|---|
| Language | Haskell2010 |
Control.Exception.Common
- data PartialFunctionError = EmptyList String
- data InputError = NonNegError String Int
- data OutOfBoundsIndexError i
- = OOBIxError String i
- | OOBIxsError String [i]
- | OOBNoCompatRows String (i, i)
- checkIxBound :: MonadThrow m => String -> Int -> UB -> m a -> m a
- data OperandSizeMismatch
- data MatrixException i
- data IterationException a
- = NotConvergedE String Int a
- | DivergingE String Int a a
Documentation
data PartialFunctionError Source #
Errors associated with partial functions
data OutOfBoundsIndexError i Source #
Out of bounds index errors
Constructors
| OOBIxError String i | |
| OOBIxsError String [i] | |
| OOBNoCompatRows String (i, i) |
checkIxBound :: MonadThrow m => String -> Int -> UB -> m a -> m a Source #
data OperandSizeMismatch Source #
Operand size mismatch errors
Constructors
| DotSizeMismatch Int Int | |
| NonTriangularException String | |
| MatVecSizeMismatchException String (Int, Int) Int |
data MatrixException i Source #
Matrix exceptions
Constructors
| HugeConditionNumber String i | |
| NeedsPivoting String String |
data IterationException a Source #
Numerical iteration errors
Constructors
| NotConvergedE String Int a | |
| DivergingE String Int a a |