VectorInt.Add Operator

Overload List

#SignatureDescription
1class operator Add(const Left: TVecInt; const Right: VectorInt): VectorInt;Add coresponding elements in Left and Right.
2class operator Add(const Left: VectorInt; const Right: TVecInt): VectorInt;Add coresponding elements in Left and Right.
3class operator Add(const Left: VectorInt; const Right: VectorInt): VectorInt;Add coresponding elements in Left and Right.
4class operator Add(const Left: VectorInt; const Right: Integer): VectorInt;Add Right to all elements in Left and return result.
5class operator Add(const Left: Integer; const Right: VectorInt): VectorInt;Add left to all elements in Right and return result.

Overload 1: class operator Add(const Left: TVecInt; const Right: VectorInt): VectorInt;

Add coresponding elements in Left and Right.

#NameTypeDescription
1LeftTVecIntsource TVecInt
2RightVectorInt

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

Overload 2: class operator Add(const Left: VectorInt; const Right: TVecInt): VectorInt;

Add coresponding elements in Left and Right.

#NameTypeDescription
1LeftVectorInt
2RightTVecIntsource TVecInt

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

Overload 3: class operator Add(const Left: VectorInt; const Right: VectorInt): VectorInt;

Add coresponding elements in Left and Right.

#NameTypeDescription
1LeftVectorInt
2RightVectorInt

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

Overload 4: class operator Add(const Left: VectorInt; const Right: Integer): VectorInt;

Add Right to all elements in Left and return result.

#NameTypeDescription
1LeftVectorInt
2RightInteger

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

Overload 5: class operator Add(const Left: Integer; const Right: VectorInt): VectorInt;

Add left to all elements in Right and return result.

#NameTypeDescription
1LeftInteger
2RightVectorInt

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