Vector.Hypot Metod

Definition

Överlagringar

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

Beräknar hypotenuse givet två vektorer som representerar längden på de kortare sidorna i en högervinklad triangel.

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

Beräknar hypotenuse givet två vektorer som representerar längden på de kortare sidorna i en högervinklad triangel.

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

Källa:
Vector.cs
Källa:
Vector.cs
Källa:
Vector.cs

Beräknar hypotenuse givet två vektorer som representerar längden på de kortare sidorna i en högervinklad triangel.

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)

Parametrar

x
Vector<Single>

Vektorn till kvadrat och lägg till i y.

y
Vector<Single>

Vektorn till kvadrat och lägg till i x.

Returer

Kvadratroten av x-squared plus y-squared.

Gäller för

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

Källa:
Vector.cs
Källa:
Vector.cs
Källa:
Vector.cs

Beräknar hypotenuse givet två vektorer som representerar längden på de kortare sidorna i en högervinklad triangel.

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)

Parametrar

x
Vector<Double>

Vektorn till kvadrat och lägg till i y.

y
Vector<Double>

Vektorn till kvadrat och lägg till i x.

Returer

Kvadratroten av x-squared plus y-squared.

Gäller för