Граф коммитов

11 Коммитов

Автор SHA1 Сообщение Дата
naruse 3e92b635fb Add frozen_string_literal: false for all files
When you change this to true, you may need to add more tests.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53141 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-12-16 05:07:31 +00:00
shugo d07ce082a6 * lib/matrix/eigenvalue_decomposition.rb (tridiagonalize): fix
indentation to avoid a warning when the command line option -w of
  ruby is specified.

* lib/matrix/eigenvalue_decomposition.rb (hessenberg_to_real_schur):
  change the name of a block parameter to avoid a warning when the
  command line option -w of ruby is specified.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52235 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-10-23 02:09:03 +00:00
hsbt eb0e81fc8f * lib/matrix/eigenvalue_decomposition.rb: refine code style.
[fix GH-959][ci skip] Patch by @bogdanvlviv

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51337 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-07-22 08:50:41 +00:00
marcandre 84eba0de32 * lib/matrix/eigenvalue_decomposition: Style fix
Patch by Gogo Tanaka [#10058]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46863 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-07-18 10:11:18 +00:00
marcandre 1f4c792072 * lib/matrix/lup_decomposition: Fix bugs with LUP Decomposition of
rectangular matrices. [rubyspec:ba849801a85]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38807 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-01-13 22:13:12 +00:00
marcandre 93f023feae * lib/matrix/eigenvalue_decomposition: Backport bugfix of Jama 1.0.3
[rubyspec:df87040be371]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38803 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-01-13 21:06:39 +00:00
marcandre ad162055c4 * lib/matrix/eigenvalue_decomposition: Fix eigensystem with complex
eigenvectors. Patch by pypypy567.
  [Bug #7208] [ruby-dev:46251] [rubyspec:242f8e55bd]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38799 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-01-13 05:50:34 +00:00
marcandre 075e4cba66 * lib/matrix/lup_decomposition.rb: Fix error for rectangular matrices
[bug#7620] [ruby-core:51118] [rubyspec:41f833ee2]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38797 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-01-13 04:46:25 +00:00
marcandre 8aac5f48fc * lib/matrix: alias {row|column}_size to {row|column}_count and use the latter.
[Bug #7369] [ruby-core:49409]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38300 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-12-10 16:53:57 +00:00
marcandre c8e2388257 * lib/matrix: Add LUP decomposition
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32353 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-07-01 06:23:12 +00:00
marcandre 004c34f9de * lib/matrix: Add Eigenvalue Decomposition
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32351 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-07-01 06:13:35 +00:00