Partilhar via


IRootFunctions<TSelf>.Hypot(TSelf, TSelf) Método

Definição

Calcula a hipotenusa considerando dois valores que representam os comprimentos dos lados mais curtos em um triângulo com ângulo reto.

public:
 static TSelf Hypot(TSelf x, TSelf y);
public static abstract TSelf Hypot (TSelf x, TSelf y);
static member Hypot : 'Self * 'Self -> 'Self
Public Shared Function Hypot (x As TSelf, y As TSelf) As TSelf

Parâmetros

x
TSelf

O valor a ser quadrado e adicionado a y.

y
TSelf

O valor a ser quadrado e adicionado a x.

Retornos

TSelf

A raiz quadrada de x-squared mais y-squared.

Aplica-se a