original_string: public function getL()
      {
          $L = [];
          for ($i = 0; $i < $this->m; ++$i) {
              for ($j = 0; $j < $this->n; ++$j) {
                  if ($i > $j) {
                      $L[$i][$j] = $this->LU[$i][$j];
                  } elseif ($i == $j) {
                      $L[$i][$j] = 1.0;
                  } else {
                      $L[$i][$j] = 0.0;
                  }
              }
          }
          return new Matrix($L);
      }
code: public function getL()
      {
          $L = [];
          for ($i = 0; $i < $this->m; ++$i) {
              for ($j = 0; $j < $this->n; ++$j) {
                  if ($i > $j) {
                      $L[$i][$j] = $this->LU[$i][$j];
                  } elseif ($i == $j) {
                      $L[$i][$j] = 1.0;
                  } else {
                      $L[$i][$j] = 0.0;
                  }
              }
          }
          return new Matrix($L);
      }
code_tokens: public function getL ( ) { $ L = [ ] ; for ( $ i = 0 ; $ i < $ this -> m ; ++ $ i ) { for ( $ j = 0 ; $ j < $ this -> n ; ++ $ j ) { if ( $ i > $ j ) { $ L [ $ i ] [ $ j ] = $ this -> LU [ $ i ] [ $ j ] ; } elseif ( $ i == $ j ) { $ L [ $ i ] [ $ j ] = 1.0 ; } else { $ L [ $ i ] [ $ j ] = 0.0 ; } } } return new Matrix ( $ L ) ; }
docstring: Get lower triangular factor.
  
  @return Matrix Lower triangular factor
docstring_tokens: Get lower triangular factor .