You are here:
Symbol Reference >
MtxExprInt Namespace
>
Classes
>
MatrixInt Record
>
public
>
Equal Operator
>
MatrixInt.Equal Method (TMtxInt)
MtxVec VCL
Example
MatrixInt.Equal Method (TMtxInt)
var
A,B:
TMtxInt
; c: boolean;
begin
CreateIt
(A,B);
try
A.SetIt(2,2,prInt32, [1,2, 2,4]);
// 2x2, int matrix
B.SetIt(2,2,prInt32, [1,2, 2,4]);
// 2x2, real matrix
c := A.Equal(B);
// Check for an exact match
finally
FreeIt
(A,B);
end
;
end
;
Copyright (c) 1999-2025 by Dew Research. All rights reserved.