Note: This API is now obsolete.
Multiplies the elements of a matrix by the corresponding
elements of another matrix.
Namespace:
Extreme.Mathematics
Assembly:
Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.1
[ObsoleteAttribute("Use the ElementwiseMultiply method instead.")]
public static Matrix<T> ElementwiseMultiplyInPlace(
Matrix<T> matrix1,
Matrix<T> matrix2
)
<ObsoleteAttribute("Use the ElementwiseMultiply method instead.")>
Public Shared Function ElementwiseMultiplyInPlace (
matrix1 As Matrix(Of T),
matrix2 As Matrix(Of T)
) As Matrix(Of T)
public:
[ObsoleteAttribute(L"Use the ElementwiseMultiply method instead.")]
static Matrix<T>^ ElementwiseMultiplyInPlace(
Matrix<T>^ matrix1,
Matrix<T>^ matrix2
)
[<ObsoleteAttribute("Use the ElementwiseMultiply method instead.")>]
static member ElementwiseMultiplyInPlace :
matrix1 : Matrix<'T> *
matrix2 : Matrix<'T> -> Matrix<'T>
Parameters
- matrix1
- Type: Extreme.MathematicsMatrixT
A MatrixT. - matrix2
- Type: Extreme.MathematicsMatrixT
A MatrixT.
Return Value
Type:
MatrixTA new
MatrixT whose elements are equal to the
products of the elements of
matrix1 and
matrix2 .
Exception | Condition |
---|
ArgumentNullException | matrix1 is -or- matrix2 is |
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. |
Reference