ConstantMatrix<T>.ElementwiseMultiplyCore Method

Multiplies two matrices element-wise.

Definition

Namespace: Extreme.Mathematics.LinearAlgebra
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23
C#
protected override Matrix<T> ElementwiseMultiplyCore(
	Matrix<T> other,
	Matrix<T> result
)

Parameters

other  Matrix<T>
The second matrix.
result  Matrix<T>
The matrix that is to hold the result. May be null.

Return Value

Matrix<T>
A matrix whose elements are the sum of the corresponding elements of this matrix and other.

Exceptions

DimensionMismatchException This matrix and other do not have the same length.

See Also