Edit

Share via


Vector512.Hypot Method

Definition

Overloads

Hypot(Vector512<Double>, Vector512<Double>)

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

Hypot(Vector512<Single>, Vector512<Single>)

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

Hypot(Vector512<Double>, Vector512<Double>)

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

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

Parameters

x
Vector512<Double>

The vector to square and add to y.

y
Vector512<Double>

The vector to square and add to x.

Returns

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

Applies to

Hypot(Vector512<Single>, Vector512<Single>)

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

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

Parameters

x
Vector512<Single>

The vector to square and add to y.

y
Vector512<Single>

The vector to square and add to x.

Returns

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

Applies to