Class: NevilleAlgorithm

Inherits:
InterpolationAlgorithm show all
Defined in:
lib/polynomial_ruby/neville_algorithm.rb

Defined Under Namespace

Classes: Solution

Instance Attribute Summary

Attributes inherited from InterpolationAlgorithm

#points, #values

Instance Method Summary collapse

Methods inherited from InterpolationAlgorithm

#initialize

Constructor Details

This class inherits a constructor from InterpolationAlgorithm

Instance Method Details

#call(point) ⇒ Object



2
3
4
# File 'lib/polynomial_ruby/neville_algorithm.rb', line 2

def call(point)
  Solution.new(points, values, point).call
end