You are here

public function PHPExcel_Shared_JAMA_LUDecomposition::isNonsingular in Loft Data Grids 6.2

Same name and namespace in other branches
  1. 7.2 vendor/phpoffice/phpexcel/Classes/PHPExcel/Shared/JAMA/LUDecomposition.php \PHPExcel_Shared_JAMA_LUDecomposition::isNonsingular()

* Is the matrix nonsingular? * *

Return value

true if U, and hence A, is nonsingular.

1 call to PHPExcel_Shared_JAMA_LUDecomposition::isNonsingular()
PHPExcel_Shared_JAMA_LUDecomposition::solve in vendor/phpoffice/phpexcel/Classes/PHPExcel/Shared/JAMA/LUDecomposition.php
* Solve A*X = B * *

File

vendor/phpoffice/phpexcel/Classes/PHPExcel/Shared/JAMA/LUDecomposition.php, line 188

Class

PHPExcel_Shared_JAMA_LUDecomposition
@package JAMA

Code

public function isNonsingular() {
  for ($j = 0; $j < $this->n; ++$j) {
    if ($this->LU[$j][$j] == 0) {
      return false;
    }
  }
  return true;
}