Vector128.Hypot Method
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.
Hypot(Vector128<Double>, Vector128<Double>) |
Computes the hypotenuse given two vectors representing the lengths of the shorter sides in a right-angled triangle. |
Hypot(Vector128<Single>, Vector128<Single>) |
Computes the hypotenuse given two vectors representing the lengths of the shorter sides in a right-angled triangle. |
Computes the hypotenuse given two vectors representing the lengths of the shorter sides in a right-angled triangle.
public:
static System::Runtime::Intrinsics::Vector128<double> Hypot(System::Runtime::Intrinsics::Vector128<double> x, System::Runtime::Intrinsics::Vector128<double> y);
public static System.Runtime.Intrinsics.Vector128<double> Hypot(System.Runtime.Intrinsics.Vector128<double> x, System.Runtime.Intrinsics.Vector128<double> y);
static member Hypot : System.Runtime.Intrinsics.Vector128<double> * System.Runtime.Intrinsics.Vector128<double> -> System.Runtime.Intrinsics.Vector128<double>
Public Function Hypot (x As Vector128(Of Double), y As Vector128(Of Double)) As Vector128(Of Double)
Parameters
Returns
The square root of x
-squared plus y
-squared.
Applies to
.NET 10 и .NET 9
Продукт | Версии |
---|---|
.NET | 9, 10 |
Computes the hypotenuse given two vectors representing the lengths of the shorter sides in a right-angled triangle.
public:
static System::Runtime::Intrinsics::Vector128<float> Hypot(System::Runtime::Intrinsics::Vector128<float> x, System::Runtime::Intrinsics::Vector128<float> y);
public static System.Runtime.Intrinsics.Vector128<float> Hypot(System.Runtime.Intrinsics.Vector128<float> x, System.Runtime.Intrinsics.Vector128<float> y);
static member Hypot : System.Runtime.Intrinsics.Vector128<single> * System.Runtime.Intrinsics.Vector128<single> -> System.Runtime.Intrinsics.Vector128<single>
Public Function Hypot (x As Vector128(Of Single), y As Vector128(Of Single)) As Vector128(Of Single)
Parameters
Returns
The square root of x
-squared plus y
-squared.
Applies to
.NET 10 и .NET 9
Продукт | Версии |
---|---|
.NET | 9, 10 |
Обратна връзка за .NET
.NET е проект с отворен код. Изберете връзка, за да предоставите обратна връзка: