Επεξεργασία

Κοινή χρήση μέσω


Vector256.Hypot Method

Definition

Overloads

Hypot(Vector256<Double>, Vector256<Double>)

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

Hypot(Vector256<Single>, Vector256<Single>)

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

Hypot(Vector256<Double>, Vector256<Double>)

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

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

Parameters

x
Vector256<Double>

The vector to square and add to y.

y
Vector256<Double>

The vector to square and add to x.

Returns

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

Applies to

Hypot(Vector256<Single>, Vector256<Single>)

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

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

Parameters

x
Vector256<Single>

The vector to square and add to y.

y
Vector256<Single>

The vector to square and add to x.

Returns

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

Applies to