You are here:
Symbol Reference >
MtxExpr Namespace
>
Classes
>
Matrix Record
>
public
>
MulElem Method
>
Matrix.MulElem Method (TMtx)
MtxVec VCL
Example
Matrix.MulElem Method (TMtx)
var
A,B,C:
Matrix
;
begin
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]
end
;
Copyright (c) 1999-2025 by Dew Research. All rights reserved.