Module: Vdsp::Array
- Included in:
- DoubleArray
- Defined in:
- lib/vdsp.rb,
ext/vdsp/vdsp.c
Overview
Your code goes hereā¦
Instance Method Summary collapse
- #blkman_window(flag = FULL_WINDOW) ⇒ Object
- #hamm_window(flag = FULL_WINDOW) ⇒ Object
- #hann_window(flag = FULL_WINDOW) ⇒ Object
-
#length ⇒ Object
(also: #size)
Vdsp::Array.
Instance Method Details
#blkman_window(flag = FULL_WINDOW) ⇒ Object
9 10 11 12 |
# File 'lib/vdsp.rb', line 9 def blkman_window(flag=FULL_WINDOW) window = self.class.blkman_window(self.length, flag) self * window end |
#hamm_window(flag = FULL_WINDOW) ⇒ Object
14 15 16 17 |
# File 'lib/vdsp.rb', line 14 def hamm_window(flag=FULL_WINDOW) window = self.class.hamm_window(self.length, flag) self * window end |
#hann_window(flag = FULL_WINDOW) ⇒ Object
19 20 21 22 |
# File 'lib/vdsp.rb', line 19 def hann_window(flag=FULL_WINDOW) window = self.class.hann_window(self.length, flag) self * window end |
#length ⇒ Object Also known as: size
Vdsp::Array
182 183 184 185 186 |
# File 'ext/vdsp/vdsp.c', line 182
VALUE rb_vdsp_array_length(VALUE self)
{
VdspArrayNativeResource *p = get_vdsp_array_native_resource(self);
return LONG2NUM(p->length);
}
|