Click or drag to resize

DistancePowerDistance Constructor

Default constructor. Sets p and r equal to 2, equivalent to the Euclidean distance.

Namespace: CenterSpace.NMath.Core
Assembly: NMath (in NMath.dll) Version: 7.4
Syntax
public PowerDistance()
Remarks
The power distance is computed as:
C#
distance( x, y ) = ( |xi - yi|^p )^1/r
See Also