共用方式為


VectorDistanceFunction Struct

Definition

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.

Applies to