Vector.Hypot 方法

定义

重载

名称 说明
Hypot(Vector<Single>, Vector<Single>)

计算给定的两个向量(表示右角三角形中较短边的长度)的虚构。

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

计算给定的两个向量(表示右角三角形中较短边的长度)的虚构。

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

Source:
Vector.cs
Source:
Vector.cs
Source:
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平方根。

适用于

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

Source:
Vector.cs
Source:
Vector.cs
Source:
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平方根。

适用于