Matrix.Hypot<T> Method

Computes the square root of the sum of the squared corresponding elements of two matrices.

Definition

Namespace: Extreme.Mathematics
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23
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