TOpenCLMatrix::MulElem Method

Overload List

#SignatureDescription
1TOpenCLMatrix *MulElem(TOpenCLMatrix *Mtx);Matrix array multiplication.
2TOpenCLMatrix *MulElem(TOpenCLMatrix *Mtx1, TOpenCLMatrix *Mtx2);Multiplies elements in Mtx1 matrix with the elements in Mtx2 matrix (array multiplication) and stores the results in calling matrix.

Overload 1: TOpenCLMatrix *MulElem(TOpenCLMatrix *Mtx);

Matrix array multiplication.

#NameTypeDescription
1MtxTOpenCLMatrix *
Remarks:

Multiplies elements in Mtx matrix with the elements in the calling matrix (array multiplication) and stores the results in calling matrix. The TOpenCLMatrix::Rows, TOpenCLMatrix::Cols and TMtxVec::Complex properties of both matrices must match, otherwise an exception is raised.

See Also: TOpenCLMatrix::InvElem
Declared in Dew::Math::TOpenCLMatrix · Dew.Math/clMtxVec.h · Cross-compiler

Overload 2: TOpenCLMatrix *MulElem(TOpenCLMatrix *Mtx1, TOpenCLMatrix *Mtx2);

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

#NameTypeDescription
1Mtx1TOpenCLMatrix *
2Mtx2TOpenCLMatrix *
Remarks:

The TOpenCLMatrix::Rows, TOpenCLMatrix::Cols and TMtxVec::Complex properties 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.

Declared in Dew::Math::TOpenCLMatrix · Dew.Math/clMtxVec.h · Cross-compiler