Matrix.HypotInto<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> 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

ArgumentNullException

first is null

-or-

second is null

See Also