Click or drag to resize

DistanceSAD(Double, Double) 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 double SAD(
	double[] a,
	double[] b
)

Parameters

a  Double
The first vector.
b  Double
The second vector.

Return Value

Double
The distance value.
See Also