[ruby-dev:48426] [ruby-trunk - Feature #10056] [PATCH 0/1]Add #adjugate method to matrix class
From:
qlli.illb@...
Date:
2014-07-18 01:28:17 UTC
List:
ruby-dev #48426
Issue #10056 has been updated by gogo tanaka. File add_matrix#adjugate_method.patch added ---------------------------------------- Feature #10056: [PATCH 0/1]Add #adjugate method to matrix class https://bugs.ruby-lang.org/issues/10056#change-47845 * Author: gogo tanaka * Status: Open * Priority: Normal * Assignee:=20 * Category:=20 * Target version:=20 ---------------------------------------- Add Matrix#adjugate to make a matrix adjugate. Adjugate is really important operator to handle matrix (especially Explorin= g Data with ruby) ```ruby: # Property * Any n-th matrix `m`(object of Matrix class) Satisfy the following condit= ions Matrix.identity(n) =3D=3D (m.adjugate * m) / m.det # Differential vector or matrix Let A =3D (a(i, j)) is n-th matrix, A(i, j) is adjugate matrix excluding th= e j and column i row A. def. =E2=88=82det(A)/=E2=88=82a(i,j) =3D (-1) ** (i + j) * det(A(i, j)) ``` Some people regards adjugate matrix as Hermitian adjoint. I regard adjuate matrix as transpose of the cofactor matrix by referencing= http://en.wikipedia.org/wiki/Adjugate_matrix. ---Files-------------------------------- add_matrix#adjugate_method.patch (2.22 KB) --=20 https://bugs.ruby-lang.org/