語言

Vector128.Hypot 方法

定義

多載

名稱 Description
Hypot(Vector128<Single>, Vector128<Single>)

計算斜邊,給定兩個代表直角三角形中較短邊長度的向量。

Hypot(Vector128<Double>, Vector128<Double>)

計算斜邊,給定兩個代表直角三角形中較短邊長度的向量。

Hypot(Vector128<Single>, Vector128<Single>)

來源:
Vector128.cs
來源:
Vector128.cs
來源:
Vector128.cs

計算斜邊,給定兩個代表直角三角形中較短邊長度的向量。

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)

參數

x
Vector128<Single>

將向量 平方 ,並加到 y。

y
Vector128<Single>

將向量 平方 ,並加到 x。

傳回

-平方加x-平方的平方根y。

適用於

Hypot(Vector128<Double>, Vector128<Double>)

來源:
Vector128.cs
來源:
Vector128.cs
來源:
Vector128.cs

計算斜邊,給定兩個代表直角三角形中較短邊長度的向量。

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)

參數

x
Vector128<Double>

將向量 平方 ,並加到 y。

y
Vector128<Double>

將向量 平方 ,並加到 x。

傳回

-平方加x-平方的平方根y。

適用於