Class: Matrix
- Inherits:
-
Object
- Object
- Matrix
- Defined in:
- datavyu_api.rb
Overview
Patch Matrix class with setter method. See fmendez.com/blog
Instance Method Summary collapse
-
#[]=(row, column, value) ⇒ Object
Add setter method of form matrix[0] = 1.
Instance Method Details
#[]=(row, column, value) ⇒ Object
Add setter method of form matrix[0] = 1
559 560 561 |
# File 'datavyu_api.rb', line 559 def []=(row, column, value) @rows[row][column] = value end |