original_string: public function rank()
      {
          $eps = pow(2.0, -52.0);
          $tol = max($this->m, $this->n) * $this->s[0] * $eps;
          $r = 0;
          for ($i = 0; $i < count($this->s); ++$i) {
              if ($this->s[$i] > $tol) {
                  ++$r;
              }
          }
          return $r;
      }
code: public function rank()
      {
          $eps = pow(2.0, -52.0);
          $tol = max($this->m, $this->n) * $this->s[0] * $eps;
          $r = 0;
          for ($i = 0; $i < count($this->s); ++$i) {
              if ($this->s[$i] > $tol) {
                  ++$r;
              }
          }
          return $r;
      }
code_tokens: public function rank ( ) { $ eps = pow ( 2.0 , - 52.0 ) ; $ tol = max ( $ this -> m , $ this -> n ) * $ this -> s [ 0 ] * $ eps ; $ r = 0 ; for ( $ i = 0 ; $ i < count ( $ this -> s ) ; ++ $ i ) { if ( $ this -> s [ $ i ] > $ tol ) { ++ $ r ; } } return $ r ; }
docstring: Effective numerical matrix rank
  
  @access public
  @return Number of nonnegligible singular values.
docstring_tokens: Effective numerical matrix rank