Class: BisquareLinearFit
- Inherits:
-
Object
- Object
- BisquareLinearFit
- Defined in:
- lib/rimageanalysistools/fitting/bisquare_linear_fit.rb
Instance Method Summary collapse
Instance Method Details
#fit_rb(x, y) ⇒ Object
35 36 37 38 39 40 41 42 |
# File 'lib/rimageanalysistools/fitting/bisquare_linear_fit.rb', line 35 def fit_rb(x, y) x_vec = ArrayRealVector.new(x.to_a.to_java(:double)) y_vec = ArrayRealVector.new(y.to_a.to_java(:double)) fit(x_vec, y_vec) end |