From: qlli.illb@... Date: 2014-07-19T15:39:08+00:00 Subject: [ruby-core:63879] [ruby-trunk - Feature #10073] [PATCH] Implement Laplace expansion for matrix. Issue #10073 has been updated by gogo tanaka. ``` For all n * n matrix m, k <- {1, 2, ..., n}. m.laplace_expansion(k-1, :row) == m.laplace_expansion(k-1, :column) == m.det It is important when we think about values contains not Scalar, like that. Matrix[[Vector[1, 0], Vector[0, 1]], [2, 3]].laplace_expansion(0, :row) => Vector[3, -2] ``` This patch needs https://bugs.ruby-lang.org/issues/10068. ---------------------------------------- Feature #10073: [PATCH] Implement Laplace expansion for matrix. https://bugs.ruby-lang.org/issues/10073#change-47903 * Author: gogo tanaka * Status: Open * Priority: Normal * Assignee: * Category: * Target version: ---------------------------------------- Laplace expansion has really important mathematical property. We can handle many thing with this (determinant, cross product) So I'm confident that this method is necessary. But I recognize Ruby should be not for mathematician but rubyist. Ruby doesn't need too academic method. So If you think it is too academic you can ignore my patches. gogo. ---Files-------------------------------- implement_Matrix#laplace_expansion.patch (3.31 KB) -- https://bugs.ruby-lang.org/