Vector<T>.Hypot Core Method
Computes the square root of the sum of the squared corresponding elements
of this vector and another vector.
Definition
Namespace: Numerics.NET
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.3
C#
A vector whose elements are equal to the square root of the sum of the squares of the corresponding elements of this vector and other.
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.3
protected virtual Vector<T> HypotCore(
Vector<T> other,
Vector<T>? result
)
Parameters
- other Vector<T>
- The second vector.
- result Vector<T>
- The vector that is to hold the result. May be null.
Return Value
Vector<T>A vector whose elements are equal to the square root of the sum of the squares of the corresponding elements of this vector and other.