Matrix.Hypot<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.4
C#
public static Matrix<T> Hypot<T>(
	Matrix<T> first,
	Matrix<T> second
)

Parameters

first  Matrix<T>
A matrix.
second  Matrix<T>
A matrix.

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

ArgumentNullException

first is null.

-or-

second is null.

See Also