TVecInt.BinaryAnd Method

Overload List

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

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

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, Index, Len: integer): TMtxVecInt; overload;

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, Src2: TMtxVecInt): TMtxVecInt; overload;

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; overload;

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, SrcIndex, Index, Len: integer): TMtxVecInt; overload;

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; overload;

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, Index, Len: integer): TMtxVecInt; overload;

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, Src2: TMtxVecInt; SrcIndex1, SrcIndex2, Index, Len: integer): TMtxVecInt; overload;

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].