Class: Malge::Vector

Inherits:
Object
  • Object
show all
Defined in:
lib/malge/vector.rb

Instance Method Summary collapse

Instance Method Details

#[]=(i, x) ⇒ Object



4
5
6
# File 'lib/malge/vector.rb', line 4

def []=(i,x)
  @elements[i]=x
end