Matrix.Hypot Into<T> Method
Computes the square root of the sum of the squared corresponding elements
of two matrices.
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 first and second.
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.2
public static Matrix<T> HypotInto<T>(
Matrix<T> first,
Matrix<T> second,
Matrix<T>? result
)
Parameters
- first Matrix<T>
- A matrix.
- second Matrix<T>
- A matrix.
- result Matrix<T>
- The matrix that is to hold the result. May be null.
Type Parameters
- T
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 first and second.
Exceptions
Argument | first is null. -or- second is null. |