Vector.Maximum Distance<T> Method
Returns the largest distance between two vectors.
Definition
Namespace: Numerics.NET
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.4
C#
The largest difference between corresponding components of left and right.
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.4
public static T MaximumDistance<T>(
Vector<T> left,
Vector<T> right
)
Parameters
Type Parameters
- T
Return Value
TThe largest difference between corresponding components of left and right.
Exceptions
Argument | left is null. -or- right is null. |
Dimension | The length of left is not equal to the length of right. |