You are here

public function PHPExcel_Shared_JAMA_Matrix::identity in Loft Data Grids 7.2

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

* identity * * Generate an identity matrix. *

Parameters

int $m Row dimension: * @param int $n Column dimension * @return Matrix Identity matrix

1 call to PHPExcel_Shared_JAMA_Matrix::identity()
PHPExcel_Shared_JAMA_Matrix::inverse in vendor/phpoffice/phpexcel/Classes/PHPExcel/Shared/JAMA/Matrix.php
* Matrix inverse or pseudoinverse. * *

File

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

Class

PHPExcel_Shared_JAMA_Matrix

Code

public function identity($m = null, $n = null) {
  return $this
    ->diagonal($m, $n, 1);
}