Matrix<T>.ElementwiseMultiplyInPlace Method

Definition

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

Overload List

ElementwiseMultiplyInPlace(Matrix<T>) Multiplies this matrix in-place element-wise by another matrix.
ElementwiseMultiplyInPlace(Matrix<T>, Matrix<T>) Multiplies the elements of a matrix by the corresponding elements of another matrix.
Obsolete.

ElementwiseMultiplyInPlace(Matrix<T>)

Multiplies this matrix in-place element-wise by another matrix.
C#
public virtual Matrix<T> ElementwiseMultiplyInPlace(
	Matrix<T> matrix
)

Parameters

matrix  Matrix<T>
A matrix.

Return Value

Matrix<T>
A reference to this instance.

Exceptions

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

ElementwiseMultiplyInPlace(Matrix<T>, Matrix<T>)

Note: This API is now obsolete.
Multiplies the elements of a matrix by the corresponding elements of another matrix.
C#
[ObsoleteAttribute("Use the ElementwiseMultiply method instead.")]
public static Matrix<T> ElementwiseMultiplyInPlace(
	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 products of the elements of matrix1 and 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