[#92891] Question: ruby 2.7.0-preview1 also upgrades bundler to 2.1.0.pre.1? — Al Snow <jasnow@...>
Tried the new 2.7.0-preview1 upgrade to Ruby and see that bundler is also u=
5 messages
2019/05/30
[#92892] Re: Question: ruby 2.7.0-preview1 also upgrades bundler to 2.1.0.pre.1?
— SHIBATA Hiroshi <hsbt@...>
2019/05/30
Bundler 2.1.0.pree.1 is the expected version.
[#92893] Re: Question: ruby 2.7.0-preview1 also upgrades bundler to 2.1.0.pre.1?
— Al Snow <jasnow@...>
2019/05/30
[ruby-core:92804] [Ruby trunk Feature#15869] Add abs to Matrix
From:
ruby@...
Date:
2019-05-23 20:15:46 UTC
List:
ruby-core #92804
Issue #15869 has been updated by bonafernando (Fernando Wolf Bona).
bonafernando (Fernando Wolf Bona) wrote:
> While I was studying Markov Chain I had to find the maximum absolute value of the Matrix to divide the matrix in numbers from 0 to 1 to be able to make further analysis. Like this:
>
> ```
> q = Matrix[ ... ]
> max = q.to_a.flatten.map { |e| e.abs }.max
> q = q / max
> ```
>
> So this is the first of two features that I would like to contribute.
> 1. Matrix.abs
> 2. Matrix.max
PR: https://github.com/ruby/ruby/pull/2199
----------------------------------------
Feature #15869: Add abs to Matrix
https://bugs.ruby-lang.org/issues/15869#change-78178
* Author: bonafernando (Fernando Wolf Bona)
* Status: Open
* Priority: Normal
* Assignee:
* Target version:
----------------------------------------
While I was studying Markov Chain I had to find the maximum absolute value of the Matrix to divide the matrix in numbers from 0 to 1 to be able to make further analysis. Like this:
```
q = Matrix[ ... ]
max = q.to_a.flatten.map { |e| e.abs }.max
q = q / max
```
So this is the first of two features that I would like to contribute.
1. Matrix.abs
2. Matrix.max
--
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>