Class: Cluda::Distance

Inherits:
Object
  • Object
show all
Extended by:
Math
Defined in:
lib/cluda/distances/distance.rb

Direct Known Subclasses

Chebyshev, Euclidean, Manhattan

Class Method Summary collapse

Class Method Details

.distance(x0, x) ⇒ Object

Raises:

  • (::NotImplementedError)


5
6
7
# File 'lib/cluda/distances/distance.rb', line 5

def self.distance(x0, x)
  raise ::NotImplementedError.new("You must implement distance method")
end