Matrix<T>.ComponentwiseDivide(Matrix<T>, Matrix<T>) Method

Note: This API is now obsolete.
Divides the elements of a matrix by the corresponding elements of another matrix.

Definition

Namespace: Extreme.Mathematics
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23
C#
[ObsoleteAttribute("Use the ElementwiseDivide method instead.")]
public static Matrix<T> ComponentwiseDivide(
	Matrix<T> matrix1,
	Matrix<T> matrix2
)

Parameters

matrix1  Matrix<T>
A Matrix<T>.
matrix2  Matrix<T>
A Matrix<T>.

Return Value

Matrix<T>
A new Matrix<T> whose elements are equal to the quotient of the elements of matrix1 divided matrix2 .

Exceptions

ArgumentNullExceptionmatrix1 is null

-or-

matrix2 is null

DimensionMismatchException The number of rows of matrix1 does not equal the number of rows of matrix2.

-or-

The number of columns of matrix1 does not equal the number of columns of matrix2.

See Also