TMtxInt.BinaryAnd Method

Overload List

#SignatureDescription
1function BinaryAnd(const Src: TMtxVecInt): TMtxVecInt;Apply binary "and" between coresponding elements in Src and Self.
└ indexed: function BinaryAnd(const Src: TMtxVecInt; SrcIndex: Integer; Index: Integer; Len: Integer): TMtxVecInt;
2function BinaryAnd(const Src1: TMtxVecInt; const Src2: TMtxVecInt): TMtxVecInt;Apply binary "and" between coresponding elements in Src1 and Src2.
3function BinaryAnd(const Src: TMtxVecInt; Value: Integer): TMtxVecInt;Apply binary "and" between elements in Src and Value.
└ indexed: function BinaryAnd(const Src: TMtxVecInt; Value: Integer; SrcIndex: Integer; Index: Integer; Len: Integer): TMtxVecInt;
4function BinaryAnd(Value: Integer): TMtxVecInt;Apply binary "and" between elements in the calling object and Value.
└ indexed: function BinaryAnd(Value: Integer; Index: Integer; Len: Integer): TMtxVecInt;
5function BinaryAnd(const Src1: TMtxVecInt; const Src2: TMtxVecInt; SrcIndex1: Integer; SrcIndex2: Integer; Index: Integer; Len: Integer): TMtxVecInt;Apply binary "and" between coresponding elements in Src1 and Src2.

Overload 1: function BinaryAnd(const Src: TMtxVecInt): TMtxVecInt;

Apply binary "and" between coresponding elements in Src and Self.

#NameTypeDescription
1SrcTMtxVecIntsource TVecInt or TMtxInt

Result: stored in self (calling object), returns self for chaining

Returns: the result of binary "and" of Src values with coresponding values in Self (this).

Indexed: function BinaryAnd(const Src: TMtxVecInt; SrcIndex: Integer; Index: Integer; Len: Integer): TMtxVecInt;

Apply binary "and" between coresponding elements in Src and Self.

#NameTypeDescription
1SrcTMtxVecIntsource TVecInt or TMtxInt
2SrcIndexIntegersource start index
3IndexIntegerstart index
4LenIntegerelement count

Result: stored in self (calling object), returns self for chaining

Returns: the result of binary "and" of Src values [SrcIndex]...[SrcIndex+Len-1] with coresponding values in Self (this) [Index]..[Index+Len-1].

Overload 2: function BinaryAnd(const Src1: TMtxVecInt; const Src2: TMtxVecInt): TMtxVecInt;

Apply binary "and" between coresponding elements in Src1 and Src2.

#NameTypeDescription
1Src1TMtxVecIntsource TVecInt or TMtxInt
2Src2TMtxVecIntsource TVecInt or TMtxInt

Result: stored in self (calling object), returns self for chaining

Remarks:

Returns the result of binary "and" of Src1 values with coresponding Src2 values stored in the calling object.

Overload 3: function BinaryAnd(const Src: TMtxVecInt; Value: Integer): TMtxVecInt;

Apply binary "and" between elements in Src and Value.

#NameTypeDescription
1SrcTMtxVecIntsource TVecInt or TMtxInt
2ValueInteger

Result: stored in self (calling object), returns self for chaining

Returns: the result of binary "and" of Value with coresponding values in Src stored in the calling object.

Indexed: function BinaryAnd(const Src: TMtxVecInt; Value: Integer; SrcIndex: Integer; Index: Integer; Len: Integer): TMtxVecInt;

Apply binary "and" between elements in Src and Value.

#NameTypeDescription
1SrcTMtxVecIntsource TVecInt or TMtxInt
2ValueInteger
3SrcIndexIntegersource start index
4IndexIntegerstart index
5LenIntegerelement count

Result: stored in self (calling object), returns self for chaining

Returns: the result of binary "and" of Value with coresponding values in Src [SrcIndex]..[SrcIndex+Len-1] stored in the calling object at locations [Index]..[Index+Len-1].

Overload 4: function BinaryAnd(Value: Integer): TMtxVecInt;

Apply binary "and" between elements in the calling object and Value.

#NameTypeDescription
1ValueInteger

Result: stored in self (calling object), returns self for chaining

Returns: the result of binary "and" between Value and values in the calling object.

Indexed: function BinaryAnd(Value: Integer; Index: Integer; Len: Integer): TMtxVecInt;

Apply binary "and" between elements in the calling object and Value.

#NameTypeDescription
1ValueInteger
2IndexIntegerstart index
3LenIntegerelement count

Result: stored in self (calling object), returns self for chaining

Returns: the result of binary "and" between Value and values in the calling object at locations [Index]..[Index+Len-1].

Overload 5: function BinaryAnd(const Src1: TMtxVecInt; const Src2: TMtxVecInt; SrcIndex1: Integer; SrcIndex2: Integer; Index: Integer; Len: Integer): TMtxVecInt;

Apply binary "and" between coresponding elements in Src1 and Src2.

#NameTypeDescription
1Src1TMtxVecIntsource TVecInt or TMtxInt
2Src2TMtxVecIntsource TVecInt or TMtxInt
3SrcIndex1Integer
4SrcIndex2Integer
5IndexIntegerstart index
6LenIntegerelement count

Result: stored in self (calling object), returns self for chaining

Returns: the result of binary "and" of Src1 values [SrcIndex1]..[SrcIndex1+Len-1] with coresponding Src2 values [SrcIndex2]..[SrcIndex2+Len-1] stored in the calling object at locations [Index]..[Index+Len-1].