Class: NoyesJava::DoubleDeltaFilter

Inherits:
Object
  • Object
show all
Includes:
JavaFilter
Defined in:
lib/java_impl/delta.rb

Instance Method Summary collapse

Methods included from JavaFilter

#<<, ensure_jarray

Constructor Details

#initializeDoubleDeltaFilter

Returns a new instance of DoubleDeltaFilter.


6
7
8
# File 'lib/java_impl/delta.rb', line 6

def initialize
  @filter = Java::talkhouse.DoubleDeltaFilter.new
end

Instance Method Details

#final_estimateObject


9
10
11
12
# File 'lib/java_impl/delta.rb', line 9

def final_estimate
  x = @filter.final_estimate
  x.map{|a|a.to_a}
end