Code Duplication    Length = 3-3 lines in 2 locations

src/Phpml/Math/LinearAlgebra/EigenvalueDecomposition.php 2 locations

@@ 440-442 (lines=3) @@
437
        for ($m = $low + 1; $m <= $high - 1; ++$m) {
438
            // Scale column.
439
            $scale = 0.0;
440
            for ($i = $m; $i <= $high; ++$i) {
441
                $scale = $scale + abs($this->H[$i][$m - 1]);
442
            }
443
444
            if ($scale != 0.0) {
445
                // Compute Householder transformation.
@@ 499-501 (lines=3) @@
496
497
        for ($m = $high - 1; $m >= $low + 1; --$m) {
498
            if ($this->H[$m][$m - 1] != 0.0) {
499
                for ($i = $m + 1; $i <= $high; ++$i) {
500
                    $this->ort[$i] = $this->H[$i][$m - 1];
501
                }
502
503
                for ($j = $m; $j <= $high; ++$j) {
504
                    $g = 0.0;