Edit

Share via


Vector64.Hypot Method

Definition

Overloads

Hypot(Vector64<Double>, Vector64<Double>)

Computes the hypotenuse given two vectors representing the lengths of the shorter sides in a right-angled triangle.

Hypot(Vector64<Single>, Vector64<Single>)

Computes the hypotenuse given two vectors representing the lengths of the shorter sides in a right-angled triangle.

Hypot(Vector64<Double>, Vector64<Double>)

Computes the hypotenuse given two vectors representing the lengths of the shorter sides in a right-angled triangle.

public:
 static System::Runtime::Intrinsics::Vector64<double> Hypot(System::Runtime::Intrinsics::Vector64<double> x, System::Runtime::Intrinsics::Vector64<double> y);
public static System.Runtime.Intrinsics.Vector64<double> Hypot (System.Runtime.Intrinsics.Vector64<double> x, System.Runtime.Intrinsics.Vector64<double> y);
static member Hypot : System.Runtime.Intrinsics.Vector64<double> * System.Runtime.Intrinsics.Vector64<double> -> System.Runtime.Intrinsics.Vector64<double>
Public Function Hypot (x As Vector64(Of Double), y As Vector64(Of Double)) As Vector64(Of Double)

Parameters

x
Vector64<Double>

The vector to square and add to y.

y
Vector64<Double>

The vector to square and add to x.

Returns

The square root of x-squared plus y-squared.

Applies to

Hypot(Vector64<Single>, Vector64<Single>)

Computes the hypotenuse given two vectors representing the lengths of the shorter sides in a right-angled triangle.

public:
 static System::Runtime::Intrinsics::Vector64<float> Hypot(System::Runtime::Intrinsics::Vector64<float> x, System::Runtime::Intrinsics::Vector64<float> y);
public static System.Runtime.Intrinsics.Vector64<float> Hypot (System.Runtime.Intrinsics.Vector64<float> x, System.Runtime.Intrinsics.Vector64<float> y);
static member Hypot : System.Runtime.Intrinsics.Vector64<single> * System.Runtime.Intrinsics.Vector64<single> -> System.Runtime.Intrinsics.Vector64<single>
Public Function Hypot (x As Vector64(Of Single), y As Vector64(Of Single)) As Vector64(Of Single)

Parameters

x
Vector64<Single>

The vector to square and add to y.

y
Vector64<Single>

The vector to square and add to x.

Returns

The square root of x-squared plus y-squared.

Applies to