public function PHPExcel_Shared_JAMA_Matrix::getMatrixByRow in Loft Data Grids 7.2
Same name and namespace in other branches
- 6.2 vendor/phpoffice/phpexcel/Classes/PHPExcel/Shared/JAMA/Matrix.php \PHPExcel_Shared_JAMA_Matrix::getMatrixByRow()
* getMatrixByRow * * Get a submatrix by row index/range *
Parameters
int $i0 Initial row index: * @param int $iF Final row index * @return Matrix Submatrix
File
- vendor/
phpoffice/ phpexcel/ Classes/ PHPExcel/ Shared/ JAMA/ Matrix.php, line 340
Class
Code
public function getMatrixByRow($i0 = null, $iF = null) {
if (is_int($i0)) {
if (is_int($iF)) {
return $this
->getMatrix($i0, 0, $iF + 1, $this->n);
}
else {
return $this
->getMatrix($i0, 0, $i0 + 1, $this->n);
}
}
else {
throw new PHPExcel_Calculation_Exception(self::ArgumentTypeException);
}
}