Class: Array

Inherits:
Object
  • Object
show all
Defined in:
lib/Dobjects/Dvector_extras.rb

Overview

Modified by Vincent Fourmond to have a nice Dvector module instead of the Tioga module. add arithmetic operators for Float and Fixnum with Dvec

Instance Method Summary collapse

Instance Method Details

#to_dvectorObject

:nodoc: all



299
300
301
# File 'lib/Dobjects/Dvector_extras.rb', line 299

def to_dvector
    Dobjects::Dvector[*self]
end