[#83773] [Ruby trunk Bug#14108] Seg Fault with MinGW on svn 60769 — usa@...
Issue #14108 has been updated by usa (Usaku NAKAMURA).
9 messages
2017/11/15
[#83774] Re: [Ruby trunk Bug#14108] Seg Fault with MinGW on svn 60769
— Eric Wong <normalperson@...>
2017/11/15
usa@garbagecollect.jp wrote:
[#83775] Re: [Ruby trunk Bug#14108] Seg Fault with MinGW on svn 60769
— "U.NAKAMURA" <usa@...>
2017/11/15
Hi, Eric
[#83779] Re: [Ruby trunk Bug#14108] Seg Fault with MinGW on svn 60769
— Eric Wong <normalperson@...>
2017/11/15
"U.NAKAMURA" <usa@garbagecollect.jp> wrote:
[#83781] Re: [Ruby trunk Bug#14108] Seg Fault with MinGW on svn 60769
— "U.NAKAMURA" <usa@...>
2017/11/15
Hi, Eric,
[#83782] Re: [Ruby trunk Bug#14108] Seg Fault with MinGW on svn 60769
— Eric Wong <normalperson@...>
2017/11/15
"U.NAKAMURA" <usa@garbagecollect.jp> wrote:
[ruby-core:83836] [Ruby trunk Feature#14116] Add Matrix #exponentiate method as Matlab's exp
From:
grzegorz.jakubiak@...
Date:
2017-11-20 06:52:24 UTC
List:
ruby-core #83836
Issue #14116 has been updated by greggzst (Grzegorz Jakubiak).
marcandre (Marc-Andre Lafortune) wrote:
> Thanks for the PR.
>
> The name is not acceptable, as the exponential of a matrix is something different (expm in Matlab): https://en.wikipedia.org/wiki/Matrix_exponential
>
> I wish I was more familiar with machine learning to know how frequent calculating this is. If it is, there should be a name for this, no?
>
> The fact that `map{|e| Math.exp(e)}` is quite simple to do makes me even more hesitant to add that method too.
I changed the name to entrywise_exp as suggested. True about the simplicity but it would be a good shorthand taking into consideration fact that it is used many cases e.g. multivariate normal distribution.
----------------------------------------
Feature #14116: Add Matrix #exponentiate method as Matlab's exp
https://bugs.ruby-lang.org/issues/14116#change-67868
* Author: greggzst (Grzegorz Jakubiak)
* Status: Feedback
* Priority: Normal
* Assignee: marcandre (Marc-Andre Lafortune)
* Target version:
----------------------------------------
Add exponentiate method which results in returning a new matrix with each element being an exponent of the number e.
Here is PR for that: https://github.com/ruby/ruby/pull/1762
--
https://bugs.ruby-lang.org/
Unsubscribe: <mailto:ruby-core-request@ruby-lang.org?subject=unsubscribe>
<http://lists.ruby-lang.org/cgi-bin/mailman/options/ruby-core>