Vector256.Hypot Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
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
Returns
The square root of x
-squared plus y
-squared.