You are here

public function PHPExcel_Shared_JAMA_Matrix::getMatrixByCol in Loft Data Grids 6.2

Same name and namespace in other branches
  1. 7.2 vendor/phpoffice/phpexcel/Classes/PHPExcel/Shared/JAMA/Matrix.php \PHPExcel_Shared_JAMA_Matrix::getMatrixByCol()

* getMatrixByCol * * Get a submatrix by column index/range *

Parameters

int $i0 Initial column index: * @param int $iF Final column index * @return Matrix Submatrix

File

vendor/phpoffice/phpexcel/Classes/PHPExcel/Shared/JAMA/Matrix.php, line 361

Class

PHPExcel_Shared_JAMA_Matrix

Code

public function getMatrixByCol($j0 = null, $jF = null) {
  if (is_int($j0)) {
    if (is_int($jF)) {
      return $this
        ->getMatrix(0, $j0, $this->m, $jF + 1);
    }
    else {
      return $this
        ->getMatrix(0, $j0, $this->m, $j0 + 1);
    }
  }
  else {
    throw new PHPExcel_Calculation_Exception(self::ArgumentTypeException);
  }
}