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