Vector4.Hypot(Vector4, Vector4) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Computes the hypotenuse given two vectors representing the lengths of the shorter sides in a right-angled triangle.
public:
static System::Numerics::Vector4 Hypot(System::Numerics::Vector4 x, System::Numerics::Vector4 y);
public static System.Numerics.Vector4 Hypot(System.Numerics.Vector4 x, System.Numerics.Vector4 y);
static member Hypot : System.Numerics.Vector4 * System.Numerics.Vector4 -> System.Numerics.Vector4
Public Shared Function Hypot (x As Vector4, y As Vector4) As Vector4
Parameters
- x
- Vector4
The vector to square and add to y.
- y
- Vector4
The vector to square and add to x.
Returns
The square root of x-squared plus y-squared.