Project

General

Profile

Bug #7208 » eigenvalue_decomposition.rb.patch

pypypy567 (py _), 10/23/2012 09:28 PM

View differences:

lib/matrix/eigenvalue_decomposition.rb (working copy)
elsif imag > 0
Array.new(@size){|j| Complex(@v[j][i], @v[j][i+1])}
else
Array.new(@size){|j| Complex(@v[j][i], -@v[j][i-1])}
Array.new(@size){|j| Complex(@v[j][i-1], -@v[j][i])}
end
end
end
    (1-1/1)