You are here: Symbol Reference > clMtxExpr Namespace > Classes > clMatrix Record > public > MulElem Method > clMatrix.MulElem Method (TOpenCLMatrix, TOpenCLMatrix)
MtxVec VCL
ContentsIndex
PreviousUpNext
clMatrix.MulElem Method (TOpenCLMatrix, TOpenCLMatrix)

Multiplies elements in Mtx1 matrix with the elements in Mtx2 matrix (array multiplication) and stores the results in calling matrix.

Pascal
function MulElem(Mtx1: TOpenCLMatrix; Mtx2: TOpenCLMatrix): TOpenCLMatrix; overload;

The Rows, Cols and TOpenCLBase.ComplexComplexproperties of calling matrix are set implicitly to match those of Mtx1 and Mtx2 matrices. Mtx1 and Mtx2 Rows, Cols, and Complex properties must be the same, otherwise an excetion is raised. raised.

Copyright (c) 1999-2025 by Dew Research. All rights reserved.
What do you think about this topic? Send feedback!