Issue #14116 has been updated by MSP-Greg (Greg L).


marcandre (Marc-Andre Lafortune) wrote:
> Thanks for the PR.
> 
> The name is not acceptable, as the exponential of a matrix is something different

I agree.  Not quite a single line method.  Maybe something like `entrywise_exp` or `entrywise_exponential` like in 60860.  But as you mentioned, 'is quite simple'...

----------------------------------------
Feature #14116: Add Matrix #exponentiate method as Matlab's exp
https://bugs.ruby-lang.org/issues/14116#change-67864

* 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>