Module: Statsample::VectorShorthands

Included in:
Array, GSL::Vector
Defined in:
lib/statsample/vector.rb

Instance Method Summary collapse

Instance Method Details

#to_vector(*args) ⇒ Object

Creates a new Statsample::Vector object Argument should be equal to Vector.new



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

def to_vector(*args)
  Daru::Vector.new(self)
end