original_string: private function getIdentity(): self
      {
          $array = array_fill(0, $this->rows, array_fill(0, $this->columns, 0));
          for ($i = 0; $i < $this->rows; ++$i) {
              $array[$i][$i] = 1;
          }
  
          return new self($array, false);
      }
code: private function getIdentity(): self
      {
          $array = array_fill(0, $this->rows, array_fill(0, $this->columns, 0));
          for ($i = 0; $i < $this->rows; ++$i) {
              $array[$i][$i] = 1;
          }
  
          return new self($array, false);
      }
code_tokens: private function getIdentity ( ) : self { $ array = array_fill ( 0 , $ this -> rows , array_fill ( 0 , $ this -> columns , 0 ) ) ; for ( $ i = 0 ; $ i < $ this -> rows ; ++ $ i ) { $ array [ $ i ] [ $ i ] = 1 ; } return new self ( $ array , false ) ; }
docstring: Returns diagonal identity matrix of the same size of this matrix
docstring_tokens: Returns diagonal identity matrix of the same size of this matrix