Matrix<T>.ComponentwiseDivide Method

Definition

Namespace: Extreme.Mathematics
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23

Overload List

ComponentwiseDivide(Matrix<T>) Divides the elements of this instance by the corresponding elements of another matrix.
Obsolete.
ComponentwiseDivide(Matrix<T>, Matrix<T>) Divides the elements of a matrix by the corresponding elements of another matrix.
Obsolete.

ComponentwiseDivide(Matrix<T>)

Note: This API is now obsolete.
Divides the elements of this instance by the corresponding elements of another matrix.
C#
[ObsoleteAttribute("Use the ElementwiseDivideInPlace method instead.")]
public Matrix<T> ComponentwiseDivide(
	Matrix<T> matrix
)

Parameters

matrix  Matrix<T>
A Matrix<T>.

Return Value

Matrix<T>
A reference to this instance.

Exceptions

ArgumentNullExceptionmatrix is null.
DimensionMismatchException The number of rows of matrix does not equal the number of rows of this instance.

-or-

The number of columns of matrix does not equal the number of columns of this instance.

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

Note: This API is now obsolete.
Divides the elements of a matrix by the corresponding elements of another matrix.
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