You are here

function JAMAError in Loft Data Grids 6.2

Same name and namespace in other branches
  1. 7.2 vendor/phpoffice/phpexcel/Classes/PHPExcel/Shared/JAMA/utils/Error.php \JAMAError()

Custom error handler

Parameters

int $num Error number:

3 calls to JAMAError()
CholeskyDecomposition::solve in vendor/phpoffice/phpexcel/Classes/PHPExcel/Shared/JAMA/CholeskyDecomposition.php
* Solve A*X = B * *
CholeskyDecomposition::__construct in vendor/phpoffice/phpexcel/Classes/PHPExcel/Shared/JAMA/CholeskyDecomposition.php
* CholeskyDecomposition * * Class constructor - decomposes symmetric positive definite matrix *
PHPExcel_Shared_JAMA_Matrix::times in vendor/phpoffice/phpexcel/Classes/PHPExcel/Shared/JAMA/Matrix.php
* times * * Matrix multiplication *

File

vendor/phpoffice/phpexcel/Classes/PHPExcel/Shared/JAMA/utils/Error.php, line 70

Code

function JAMAError($errorNumber = null) {
  global $error;
  if (isset($errorNumber)) {
    if (isset($error[JAMALANG][$errorNumber])) {
      return $error[JAMALANG][$errorNumber];
    }
    else {
      return $error['EN'][$errorNumber];
    }
  }
  else {
    return "Invalid argument to JAMAError()";
  }
}