You are here:
Symbol Reference >
Dew Namespace
>
Dew.Math Namespace
>
Classes
>
clMatrix Structure
>
clMatrix Methods
>
MulElem Method
>
clMatrix.MulElem Method (TOpenCLMatrix)
Dew Math for .NET
Example
clMatrix.MulElem Method (TOpenCLMatrix)
var A,B,C:
clMatrix
; begin A.CopyFromArray(2,2,TSingleArray.Create(1,2, 2,4)); B.CopyFromArray(2,2,TSingleArray.Create(1,2, 2,4)); C.MulElem(A,B);
// C becomes:
// [1, 4,
// 4,16]
end;
Copyright (c) 1999-2024 by Dew Research. All rights reserved.
Contents
|
Index
|
Home