You are here:
Symbol Reference >
Dew Namespace
>
Dew.Math Namespace
>
Classes
>
TOpenCLMatrix Class
>
TOpenCLMatrix Methods
>
MulElem Method
>
TOpenCLMatrix.MulElem Method (TOpenCLMatrix)
Dew Math for .NET
Example
TOpenCLMatrix.MulElem Method (TOpenCLMatrix)
var A,B,C:
TOpenCLMatrix
; begin clMtxVec.CreateIt(A,B,C);
try
A.SetIt(2,2,False,[1,2, 2,4)); B.SetIt(2,2,False,[1,2, 2,4)); C.MulElem(A,B);
// C becomes:
// [1, 4,
// 4,16]
finally
clMtxVec.FreeIt(A,B,C); end; end;
Copyright (c) 1999-2024 by Dew Research. All rights reserved.
Contents
|
Index
|
Home