original_string: public function getEigenvectors()
      {
          $vectors = $this->V;
  
          // Always return the eigenvectors of length 1.0
          $vectors = new Matrix($vectors);
          $vectors = array_map(function ($vect) {
              $sum = 0;
              for ($i = 0; $i < count($vect); ++$i) {
                  $sum += $vect[$i] ** 2;
              }
  
              $sum = sqrt($sum);
              for ($i = 0; $i < count($vect); ++$i) {
                  $vect[$i] /= $sum;
              }
  
              return $vect;
          }, $vectors->transpose()->toArray());
  
          return $vectors;
      }
code: public function getEigenvectors()
      {
          $vectors = $this->V;
  
          // Always return the eigenvectors of length 1.0
          $vectors = new Matrix($vectors);
          $vectors = array_map(function ($vect) {
              $sum = 0;
              for ($i = 0; $i < count($vect); ++$i) {
                  $sum += $vect[$i] ** 2;
              }
  
              $sum = sqrt($sum);
              for ($i = 0; $i < count($vect); ++$i) {
                  $vect[$i] /= $sum;
              }
  
              return $vect;
          }, $vectors->transpose()->toArray());
  
          return $vectors;
      }
code_tokens: public function getEigenvectors ( ) { $ vectors = $ this -> V ; // Always return the eigenvectors of length 1.0 $ vectors = new Matrix ( $ vectors ) ; $ vectors = array_map ( function ( $ vect ) { $ sum = 0 ; for ( $ i = 0 ; $ i < count ( $ vect ) ; ++ $ i ) { $ sum += $ vect [ $ i ] ** 2 ; } $ sum = sqrt ( $ sum ) ; for ( $ i = 0 ; $ i < count ( $ vect ) ; ++ $ i ) { $ vect [ $ i ] /= $ sum ; } return $ vect ; } , $ vectors -> transpose ( ) -> toArray ( ) ) ; return $ vectors ; }
docstring: Return the eigenvector matrix
  
  @access public
  
  @return array
docstring_tokens: Return the eigenvector matrix