From: ruby-core@... Date: 2014-09-21T02:00:03+00:00 Subject: [ruby-core:65178] [ruby-trunk - Feature #10073] [PATCH] Implement Laplace expansion for matrix. Issue #10073 has been updated by Marc-Andre Lafortune. Looks good. I'd change the interface slightly so we can call it with named parameters instead: m.laplace_expansion(row: k-1) == m.laplace_expansion(column: k-1) == m.det Of course, m.laplace_expansion or m.laplace_expansion(row: 0, column: 0) would raise errors. @gogo tanaka: what do you think about this? ---------------------------------------- Feature #10073: [PATCH] Implement Laplace expansion for matrix. https://bugs.ruby-lang.org/issues/10073#change-49017 * Author: gogo tanaka * Status: Assigned * Priority: Normal * Assignee: Marc-Andre Lafortune * Category: lib * Target version: current: 2.2.0 ---------------------------------------- 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/