You are here

public function PHPExcel_Shared_JAMA_QRDecomposition::isFullRank in Loft Data Grids 7.2

Same name and namespace in other branches
  1. 6.2 vendor/phpoffice/phpexcel/Classes/PHPExcel/Shared/JAMA/QRDecomposition.php \PHPExcel_Shared_JAMA_QRDecomposition::isFullRank()

* Is the matrix full rank? * *

Return value

boolean true if R, and hence A, has full rank, else false.

1 call to PHPExcel_Shared_JAMA_QRDecomposition::isFullRank()
PHPExcel_Shared_JAMA_QRDecomposition::solve in vendor/phpoffice/phpexcel/Classes/PHPExcel/Shared/JAMA/QRDecomposition.php
* Least squares solution of A*X = B * *

File

vendor/phpoffice/phpexcel/Classes/PHPExcel/Shared/JAMA/QRDecomposition.php, line 101

Class

PHPExcel_Shared_JAMA_QRDecomposition
@package JAMA

Code

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