11define(
'JAMALANG', 
'EN');
 
   24define(
'PolymorphicArgumentException', -1);
 
   29define(
'ArgumentTypeException', -2);
 
   34define(
'ArgumentBoundsException', -3);
 
   39define(
'MatrixDimensionException', -4);
 
   44define(
'PrecisionLossException', -5);
 
   49define(
'MatrixSPDException', -6);
 
   54define(
'MatrixSingularException', -7);
 
   57define(
'MatrixRankException', -8);
 
   60define(
'ArrayLengthException', -9);
 
   63define(
'RowLengthException', -10);
 
   73        if (isset($errorNumber)) {
 
   77                        return $error[
'EN'][$errorNumber];
 
   80                return (
"Invalid argument to JAMAError()");
 
const MatrixSingularException
const MatrixDimensionException
const PrecisionLossException
const PolymorphicArgumentException
const ArrayLengthException
const MatrixRankException
const ArgumentTypeException
const ArgumentBoundsException
JAMAError($errorNumber=null)
Custom error handler.
An exception for terminatinating execution or to throw for unit testing.