Forum: Ruby-dev [PATCH 0/1]Add #adjugate method to matrix class

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
unknown (Guest)
on 2014-07-18 03:29
(Received via mailing list)
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

* Author: gogo tanaka
* Status: Open
* Priority: Normal
* Assignee:
* Category:
* Target version:
Add Matrix#adjugate to make a matrix adjugate.

Adjugate is really important operator to handle matrix (especially
Exploring Data with ruby)

# Property

* Any n-th matrix  `m`(object of Matrix class) Satisfy the following

Matrix.identity(n) == (m.adjugate * m) / m.det

# Differential vector or matrix
Let A = (a(i, j)) is n-th matrix, A(i, j) is adjugate matrix excluding
the j and column i row A.

def. ∂det(A)/∂a(i,j) = (-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

add_matrix#adjugate_method.patch (2.22 KB)
This topic is locked and can not be replied to.