Project

General

Profile

Actions

Feature #10056

closed

[PATCH 0/1]Add #adjugate method to matrix class

Added by gogotanaka (Kazuki Tanaka) over 10 years ago. Updated about 10 years ago.

Status:
Closed
Target version:
-
[ruby-dev:48425]

Description

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 conditions

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 referencing http://en.wikipedia.org/wiki/Adjugate_matrix.


Files

add_matrix#adjugate_method.patch (2.22 KB) add_matrix#adjugate_method.patch gogotanaka (Kazuki Tanaka), 07/18/2014 01:28 AM
update_news.patch (867 Bytes) update_news.patch gogotanaka (Kazuki Tanaka), 10/12/2014 06:57 AM
implement.patch (1.07 KB) implement.patch gogotanaka (Kazuki Tanaka), 10/12/2014 06:57 AM
add_test.patch (1.84 KB) add_test.patch gogotanaka (Kazuki Tanaka), 10/12/2014 06:57 AM
Actions

Also available in: Atom PDF

Like0
Like0Like0Like0Like0Like0