Sha256: 7068f25364d08a826cd75d05b781ffdbb3545cf02f604780da9327f987ba5556
Contents?: true
Size: 294 Bytes
Versions: 9
Compression:
Stored size: 294 Bytes
Contents
module SPCore # Produces a rectangular window (all ones) of a given size (number of samples). # For more info, see https://en.wikipedia.org/wiki/Window_function#Rectangular_window. class RectangularWindow attr_reader :data def initialize size @data = Array.new(size, 1.0) end end end
Version data entries
9 entries across 9 versions & 1 rubygems