﻿ Euclidean Methods

Euclidean Methods

The Euclidean type exposes the following members.

Methods
NameDescription
Distance(Double, Double)
Computes the distance d(x,y) between points x and y.
Distance(Double, Double)
Computes the distance d(x,y) between points x and y.
Distance(TupleDouble, Double, TupleDouble, Double)
Gets the Euclidean distance between two points.
Distance(SparseDouble, SparseDouble)
Computes the distance d(x,y) between points x and y.
Distance(Double, Double, Double, Double)
Gets the Euclidean distance between two points. Note: this function is dangerous as it is too easy to invert its arguments by mistake. Please consider using the Tuple<double, double> overload instead.
Equals
Indicates whether this instance and a specified object are equal.
(Inherited from ValueType.)
GetHashCode
Returns the hash code for this instance.
(Inherited from ValueType.)
GetType
Gets the Type of the current instance.
(Inherited from Object.)
Similarity(Double, Double)
Gets a similarity measure between two points.
Similarity(Double, Double)
Gets a similarity measure between two points.
Similarity(TupleDouble, Double, TupleDouble, Double)
Gets a similarity measure between two points.
Similarity(SparseDouble, SparseDouble)
Gets a similarity measure between two points.
ToString
Returns the fully qualified type name of this instance.
(Inherited from ValueType.)
Top
Extension Methods
NameDescription
HasMethod
Checks whether an object implements a method with the given name.
(Defined by ExtensionMethods.)
IsEqual
Compares two objects for equality, performing an elementwise comparison if the elements are vectors or matrices.
(Defined by Matrix.)
Converts an object into another type, irrespective of whether the conversion can be done at compile time or not. This can be used to convert generic types to numeric types during runtime.
(Defined by ExtensionMethods.)
Converts an object into another type, irrespective of whether the conversion can be done at compile time or not. This can be used to convert generic types to numeric types during runtime.
(Defined by ExtensionMethods.)
Top