Click or drag to resize

DistanceSAD(Single, Single) Method

Sum of Absolute Difference (SAD), i.e. the L1-norm (Manhattan) of the difference.

Namespace: Altaxo.Calc
Assembly: AltaxoCore (in AltaxoCore.dll) Version: 4.8.3572.0 (4.8.3572.0)
Syntax
C#
public static float SAD(
	float[] a,
	float[] b
)

Parameters

a  Single
The first vector.
b  Single
The second vector.

Return Value

Single
The distance value.
See Also