[#63592] [ruby-trunk - Bug #10009] IO operation is 10x slower in multi-thread environment — normalperson@...
Issue #10009 has been updated by Eric Wong.
3 messages
2014/07/08
[#63682] [ruby-trunk - Feature #10030] [PATCH] reduce rb_iseq_struct to 296 bytes — ko1@...
Issue #10030 has been updated by Koichi Sasada.
3 messages
2014/07/13
[#63703] [ruby-trunk - Feature #10030] [PATCH] reduce rb_iseq_struct to 296 bytes — ko1@...
Issue #10030 has been updated by Koichi Sasada.
3 messages
2014/07/14
[#63743] [ruby-trunk - Bug #10037] Since r46798 on Solaris, "[BUG] rb_vm_get_cref: unreachable" during make — ngotogenome@...
Issue #10037 has been updated by Naohisa Goto.
3 messages
2014/07/15
[#64136] Ruby 2.1.2 (and 2.1.1 and probably others) assumes a libffi with 3 version numbers in extconf.rb — "Jeffrey 'jf' Lim" <jfs.world@...>
As per subject.
4 messages
2014/07/31
[#64138] Re: Ruby 2.1.2 (and 2.1.1 and probably others) assumes a libffi with 3 version numbers in extconf.rb
— "Jeffrey 'jf' Lim" <jfs.world@...>
2014/07/31
On Thu, Jul 31, 2014 at 6:03 PM, Jeffrey 'jf' Lim <jfs.world@gmail.com>
[ruby-core:63885] [ruby-trunk - Feature #10069] [PATCH] Implement monadic operator for Matrix
From:
qlli.illb@...
Date:
2014-07-19 21:08:18 UTC
List:
ruby-core #63885
Issue #10069 has been updated by gogo tanaka. Yukihiro Matsumoto wrote: > unary operator has nothing related to inject though. It's kind of my mistake, sorry to confuse you. I think it not seldom happens that we want do this(term monadic). And this is based on custom in math. Compared with some other numerical analysis software(MATLAB, mathematica, GNU Octave, R, NumPy), They have term monadic for matrix, vector. (But you can say "this is ruby issue! this is no business of how other softwares are" ) thank you. gogo. ---------------------------------------- Feature #10069: [PATCH] Implement monadic operator for Matrix https://bugs.ruby-lang.org/issues/10069#change-47911 * Author: gogo tanaka * Status: Open * Priority: Normal * Assignee: * Category: * Target version: ---------------------------------------- Before ``` m = Matrix[[1,2,3], [4,5,6]] + m NoMethodError: undefined method `+@' for Matrix[[1, 2, 3], [4, 5, 6]]:Matrix - m NoMethodError: undefined method `-@' for Matrix[[1, 2, 3], [4, 5, 6]]:Matrix ``` After ``` m = Matrix[[1,2,3], [4,5,6]] + m => Matrix[[1, 2, 3], [4, 5, 6]] - m => Matrix[[-1, -2, -3], [-4, -5, -6]] ``` I think monadic operator for Matrix is important, when I use operator as block. like that ``` matrix_ary.inject(:+) ``` ---Files-------------------------------- implement_uplus_for_matrix.patch (762 Bytes) implement_negate_for_matrix.patch (1.21 KB) -- https://bugs.ruby-lang.org/