Matrix.Elementwise Multiply Into<T>(Matrix<T>, Matrix<T>, Matrix<T>) Method
Multiplies a matrix element-wise by another matrix.
Definition
Namespace: Extreme.Mathematics
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23
C#
A matrix whose elements are equal to the products of the elements of left and right .
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23
public static Matrix<T> ElementwiseMultiplyInto<T>(
Matrix<T> left,
Matrix<T> right,
Matrix<T> result
)
Parameters
- left Matrix<T>
- A matrix.
- right Matrix<T>
- A matrix.
- result Matrix<T>
- The matrix that is to hold the result. May be null.
Type Parameters
- T
Return Value
Matrix<T>A matrix whose elements are equal to the products of the elements of left and right .
Exceptions
Argument | left is null -or- right is null |
Dimension | The length of left does not equal the length of right. |