Project

General

Profile

Bug #7620 ยป lup_decomposition.rb.det.patch

pypypy567 (py _), 12/25/2012 07:39 AM

View differences:

lib/matrix/lup_decomposition.rb (working copy)
def det
if (@row_count != @column_count)
Matrix.Raise Matrix::ErrDimensionMismatch unless square?
Matrix.Raise Matrix::ErrDimensionMismatch
end
d = @pivot_sign
@column_count.times do |j|
    (1-1/1)