module Statsample::VectorShorthands

Public Instance Methods

to_scale(*args) click to toggle source

Creates a new Statsample::Vector object of type :scale

# File lib/statsample/vector.rb, line 11
def to_scale(*args)
  Statsample::Vector.new(self, :scale, *args)
end
to_vector(*args) click to toggle source

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

# File lib/statsample/vector.rb, line 7
def to_vector(*args)
              Statsample::Vector.new(self,*args)
      end