NFloat.Hypot(NFloat, NFloat) Método

Definición

Calcula la hipotenusa dadas dos valores que representan las longitudes de los lados más cortos en un triángulo en ángulo derecho.

public:
 static System::Runtime::InteropServices::NFloat Hypot(System::Runtime::InteropServices::NFloat x, System::Runtime::InteropServices::NFloat y) = System::Numerics::IRootFunctions<System::Runtime::InteropServices::NFloat>::Hypot;
public static System.Runtime.InteropServices.NFloat Hypot (System.Runtime.InteropServices.NFloat x, System.Runtime.InteropServices.NFloat y);
static member Hypot : System.Runtime.InteropServices.NFloat * System.Runtime.InteropServices.NFloat -> System.Runtime.InteropServices.NFloat
Public Shared Function Hypot (x As NFloat, y As NFloat) As NFloat

Parámetros

x
NFloat

Valor que se va a cuadrado y se agrega a y.

y
NFloat

Valor que se va a cuadrado y se agrega a x.

Devoluciones

Raíz cuadrada de x-cuadrado más y-cuadrado.

Implementaciones

Se aplica a