Class: Matrix
- Inherits:
-
Object
- Object
- Matrix
- Defined in:
- lib/oxcelix.rb
Direct Known Subclasses
Instance Method Summary collapse
-
#[]=(i, j, x) ⇒ Object
Set the cell value i,j to x, where i=row, and j=column.
Instance Method Details
#[]=(i, j, x) ⇒ Object
Set the cell value i,j to x, where i=row, and j=column.
30 31 32 |
# File 'lib/oxcelix.rb', line 30 def []=(i, j, x) @rows[i][j]=x end |