Method: Mittsu::Matrix3#from_array

Defined in:
lib/mittsu/math/matrix3.rb

#from_array(array) ⇒ Object



151
152
153
154
# File 'lib/mittsu/math/matrix3.rb', line 151

def from_array(array)
  self.elements[0..array.length] = (array)
  self
end