Click or drag to resize
Accord.NET (logo)

DistanceHamming Method (BitArray, BitArray)

Gets the Hamming distance between two points.

Namespace:  Accord.Math
Assembly:  Accord.Math (in Accord.Math.dll) Version: 3.8.0
Syntax
public static double Hamming(
	BitArray x,
	BitArray y
)
Request Example View Source

Parameters

x
Type: System.CollectionsBitArray
The first point x.
y
Type: System.CollectionsBitArray
The second point y.

Return Value

Type: Double
The Hamming distance between x and y.
Examples
For examples, please see Hamming documentation page.
See Also