You are here:
Symbol Reference >
MtxExprInt Namespace
>
Classes
>
MatrixInt Record
>
public
>
Equal Operator
>
MatrixInt.Equal Operator (MatrixInt, MatrixInt)
MtxVec VCL
MatrixInt.Equal Operator (MatrixInt, MatrixInt)
MatrixInt Record
|
MatrixInt Members
|
MtxExprInt Namespace
|
Equal Operator
|
See Also
Collapse All
Returns true, if Left and Right are of equal
Length
and Values.
Pascal
class
operator
Equal
(
const
Left
:
MatrixInt
;
const
Right
:
MatrixInt
);
Description
var
a,b:
MatrixInt
; c: TDoubleArray;
begin
c := TDoubleArray.Create(1,1,1,1,1,0); a.Size(3,3); a.CopyFromArray(c); b.Copy(a);
if
a = b
then
ERaise
('a and b are equal!');
if
a = 1
then
ERaise
('a equals 1!');
//compare to real value
end
;
See Also
TMtxVecInt.IsEqual
Group
Equal Operator
Links
MatrixInt Record
,
MatrixInt Members
,
MtxExprInt Namespace
,
Equal Operator
,
See Also
Copyright (c) 1999-2025 by Dew Research. All rights reserved.
What do you think about this topic?
Send feedback!