Kache (Kevin Cheng)
- Login: Kache
- Registered on: 01/08/2021
- Last sign in: 01/08/2021
Issues
| open | closed | Total | |
|---|---|---|---|
| Assigned issues | 0 | 0 | 0 |
| Reported issues | 0 | 1 | 1 |
Activity
01/09/2021
-
12:17 AM Ruby Bug #17521: [Matrix stdlib] Zero matrix to the power of zero
- I find that[specs declare this as intended behavior](https://github.com/ruby/ruby/blob/1a3343cfdcb765b94bf63375d45618130d6b92c9/spec/ruby/library/matrix/exponent_spec.rb#L34):
```
it "raises a ErrDimensionMismatch for irregular ma...
01/08/2021
-
11:26 PM Ruby Bug #17521 (Closed): [Matrix stdlib] Zero matrix to the power of zero
- Just like `0**0 == 1`, `Matrix.zero(n)**0 == Matrix.identity(n)` should be true for all `n`:
https://math.stackexchange.com/questions/699740/zero-matrix-to-the-power-of-0
However:
```
$ ruby -e "require 'matrix'; Matrix.zero(1)...