VectorDistanceFunction Struct
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
The distance function to use for distance calculation in between vectors.
public readonly struct VectorDistanceFunction : IEquatable<Azure.ResourceManager.CosmosDB.Models.VectorDistanceFunction>
type VectorDistanceFunction = struct
Public Structure VectorDistanceFunction
Implements IEquatable(Of VectorDistanceFunction)
- Inheritance
-
VectorDistanceFunction
- Implements
Constructors
VectorDistanceFunction(String) |
Initializes a new instance of VectorDistanceFunction. |
Properties
Cosine |
cosine. |
Dotproduct |
dotproduct. |
Euclidean |
euclidean. |
Methods
Equals(VectorDistanceFunction) |
Indicates whether the current object is equal to another object of the same type. |
ToString() |
Returns the fully qualified type name of this instance. |
Operators
Equality(VectorDistanceFunction, VectorDistanceFunction) |
Determines if two VectorDistanceFunction values are the same. |
Implicit(String to VectorDistanceFunction) |
Converts a String to a VectorDistanceFunction. |
Inequality(VectorDistanceFunction, VectorDistanceFunction) |
Determines if two VectorDistanceFunction values are not the same. |