語言

Vector.Hypot 方法

定義

多載

名稱 Description
Hypot(Vector<Double>, Vector<Double>)

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

Hypot(Vector<Single>, Vector<Single>)

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

Hypot(Vector<Double>, Vector<Double>)

來源:
Vector.cs
來源:
Vector.cs
來源:
Vector.cs

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

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

參數

x
Vector<Double>

將向量 平方 ,並加到 y。

y
Vector<Double>

將向量 平方 ,並加到 x。

傳回

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

適用於

Hypot(Vector<Single>, Vector<Single>)

來源:
Vector.cs
來源:
Vector.cs
來源:
Vector.cs

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

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

參數

x
Vector<Single>

將向量 平方 ,並加到 y。

y
Vector<Single>

將向量 平方 ,並加到 x。

傳回

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

適用於