Method DistSquaredCartesian
DistSquaredCartesian(Double[], Double[])
The square of the cartesian Distance. Not really a distance, but useful if all that matters is comparing the result to another one.
Declaration
[Obsolete]
public static double DistSquaredCartesian(double[] vec1, double[] vec2)
Parameters
Type | Name | Description |
---|---|---|
System.Double[] | vec1 | The first point |
System.Double[] | vec2 | The second point |
Returns
Type | Description |
---|---|
System.Double | The squared cartesian distance |