DistributedMatrix<T>.ElementwiseMultiplyCore Method

Multiplies two matrices element-wise.

Definition

Namespace: Numerics.NET.Distributed
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.2
C#
protected override Matrix<T> ElementwiseMultiplyCore(
	Matrix<T> right,
	Matrix<T>? result
)

Parameters

right  Matrix<T>
 
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