[#48591] StringValuePtrでnull終止されてない文字列の作り方 — madoka yamamoto <yamamotomadoka@...>
5bGx5pys44Go44KC44GG44GX44G+44GZ44CCDQoNCnRydW5r44GuUnVieeOBp1Bvc3RncmVTUUzm
5 messages
2014/10/05
[#48598] Re: StringValuePtrでnull終止されてない文字列の作り方
— "NARUSE, Yui" <naruse@...>
2014/10/06
GyRCJF4kOiEiGyhCQ1J1YnkbJEIkSCQ3JEYkTxsoQlN0cmluZ1ZhbHVlUHRyGyRCJCwbKEJOVUwb
[#48666] Re: [ruby-cvs:55171] duerst:r48021 (trunk): common.mk: Added a rule to generate lib/unicode_normalize/tables.rb. — "Martin J. Dürst" <duerst@...>
=E4=B8=AD=E7=94=B0=E3=81=95=E3=82=93=E3=80=81=E3=81=93=E3=82=93=E3=81=AB=E3=
3 messages
2014/10/19
[ruby-dev:48617] [ruby-trunk - Feature #10056] [PATCH 0/1]Add #adjugate method to matrix class
From:
mail@...
Date:
2014-10-12 07:06:00 UTC
List:
ruby-dev #48617
Issue #10056 has been updated by gogo tanaka. File update_news.patch added File implement.patch added File add_test.patch added @Tomoyuki Chikanaga san Sorry for my delay. I was little bit puzzled about how to test well. I suppose it's better to add not only `#adjugate`but all of such a testcase= about properties by instance variable. I'm gonna make another ticket :) Right now, I added testcase for `Matrix#adjugate` and separated patches. It= ready for merging. Take your time. ---------------------------------------- Feature #10056: [PATCH 0/1]Add #adjugate method to matrix class https://bugs.ruby-lang.org/issues/10056#change-49363 * Author: gogo tanaka * Status: Assigned * Priority: Normal * Assignee: Marc-Andre Lafortune * 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) update_news.patch (867 Bytes) implement.patch (1.07 KB) add_test.patch (1.84 KB) --=20 https://bugs.ruby-lang.org/