MatrixInt.Add Method

Overload List

#SignatureDescription
1TMtxVecInt Add(TMtxVecInt Src)Add Src elements to calling vector elements.
└ indexed: TMtxVecInt Add(TMtxVecInt Src, Int32 SrcIndex, Int32 Index, Int32 Len)
2TMtxVecInt Add(TMtxVecInt Src1, TMtxVecInt Src2)Add coresponding elements in Src2 to Src1.
3TMtxVecInt Add(TMtxVecInt X, TMtxVecInt Y, TMtxVecInt Z)self = X + Y + Z
└ indexed: TMtxVecInt Add(TMtxVecInt X, Int32 XIndex, TMtxVecInt Y, Int32 YIndex, TMtxVecInt Z, Int32 zIndex, Int32 Index, Int32 Len)
4TMtxVecInt Add(TMtxVecInt X, TMtxVecInt Y, Int32 Z)self = X + Y + zScalar
└ indexed: TMtxVecInt Add(TMtxVecInt X, Int32 XIndex, TMtxVecInt Y, Int32 YIndex, Int32 Z, Int32 Index, Int32 Len)
5TMtxVecInt Add(TMtxVecInt Src, Int32 Value)Add integer Value to all Src elements.
└ indexed: TMtxVecInt Add(TMtxVecInt Src, Int32 Value, Int32 SrcIndex, Int32 Index, Int32 Len)
6TMtxVecInt Add(Int32 Value)Add integer value to all calling vector elements.
└ indexed: TMtxVecInt Add(Int32 Value, Int32 Index, Int32 Len)
7TMtxVecInt Add(TMtxVecInt Src1, TMtxVecInt Src2, Int32 src1Index, Int32 Src2Index, Int32 Index, Int32 Len)Add coresponding elements in Src2 to Src1.

Overload 1: TMtxVecInt Add(TMtxVecInt Src)

Add Src elements to calling vector elements.

#NameTypeDescription
1SrcTMtxVecIntsource TVecInt or TMtxInt

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

Indexed: TMtxVecInt Add(TMtxVecInt Src, Int32 SrcIndex, Int32 Index, Int32 Len)

Add Src elements [SrcIndex..SrcIndex+Len-1] to calling vector elements.

#NameTypeDescription
1SrcTMtxVecIntsource TVecInt or TMtxInt
2SrcIndexInt32source start index
3IndexInt32start index
4LenInt32element count

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

Remarks:

Add Src elements [SrcIndex..SrcIndex+Len-1] to calling vector elements [Index..Index+Len-1]. An exception is raised if array borders are overrun.

Overload 2: TMtxVecInt Add(TMtxVecInt Src1, TMtxVecInt Src2)

Add coresponding elements in Src2 to Src1.

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

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

Returns: the result of adding Src2 values from coresponding Src1 values.

Overload 3: TMtxVecInt Add(TMtxVecInt X, TMtxVecInt Y, TMtxVecInt Z)

Compute X + Y + Z

#NameTypeDescription
1XTMtxVecIntsource TVecInt or TMtxInt
2YTMtxVecIntsource TVecInt or TMtxInt
3ZTMtxVecIntsource TVecInt or TMtxInt

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

Indexed: TMtxVecInt Add(TMtxVecInt X, Int32 XIndex, TMtxVecInt Y, Int32 YIndex, TMtxVecInt Z, Int32 zIndex, Int32 Index, Int32 Len)

Compute X + Y + Z on sub arrays

#NameTypeDescription
1XTMtxVecIntsource TVecInt or TMtxInt
2XIndexInt32X start index
3YTMtxVecIntsource TVecInt or TMtxInt
4YIndexInt32Y start index
5ZTMtxVecIntsource TVecInt or TMtxInt
6zIndexInt32
7IndexInt32start index
8LenInt32element count

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

Overload 4: TMtxVecInt Add(TMtxVecInt X, TMtxVecInt Y, Int32 Z)

Compute X + Y + zScalar

#NameTypeDescription
1XTMtxVecIntsource TVecInt or TMtxInt
2YTMtxVecIntsource TVecInt or TMtxInt
3ZInt32

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

Indexed: TMtxVecInt Add(TMtxVecInt X, Int32 XIndex, TMtxVecInt Y, Int32 YIndex, Int32 Z, Int32 Index, Int32 Len)

Compute X + Y + zScalar on sub arrays

#NameTypeDescription
1XTMtxVecIntsource TVecInt or TMtxInt
2XIndexInt32X start index
3YTMtxVecIntsource TVecInt or TMtxInt
4YIndexInt32Y start index
5ZInt32
6IndexInt32start index
7LenInt32element count

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

Overload 5: TMtxVecInt Add(TMtxVecInt Src, Int32 Value)

Add integer Value to all Src elements.

#NameTypeDescription
1SrcTMtxVecIntsource TVecInt or TMtxInt
2ValueInt32

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

Remarks:

Add integer Value to all Src elements and store the results in calling vector. Size of calling vector is adjusted automatically.

Indexed: TMtxVecInt Add(TMtxVecInt Src, Int32 Value, Int32 SrcIndex, Int32 Index, Int32 Len)

Add integer Value to Src elements [SrcIndex..SrcIndex+Len-1].

#NameTypeDescription
1SrcTMtxVecIntsource TVecInt or TMtxInt
2ValueInt32
3SrcIndexInt32source start index
4IndexInt32start index
5LenInt32element count

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

Remarks:

Add integer Value to Src elements [SrcIndex..SrcIndex+Len-1] and store the results in calling vector elements [Index..Index+Len-1]. An exception is raised if array borders are overrun.

Overload 6: TMtxVecInt Add(Int32 Value)

Add integer value to all calling vector elements.

#NameTypeDescription
1ValueInt32

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

Indexed: TMtxVecInt Add(Int32 Value, Int32 Index, Int32 Len)

Add integer value to calling vector elements [Index..Index+Len-1].

#NameTypeDescription
1ValueInt32
2IndexInt32start index
3LenInt32element count

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

Remarks:

An exception is raised if array borders are overrun.

Overload 7: TMtxVecInt Add(TMtxVecInt Src1, TMtxVecInt Src2, Int32 src1Index, Int32 Src2Index, Int32 Index, Int32 Len)

Add coresponding elements in Src2 to Src1.

#NameTypeDescription
1Src1TMtxVecIntsource TVecInt or TMtxInt
2Src2TMtxVecIntsource TVecInt or TMtxInt
3src1IndexInt32
4Src2IndexInt32
5IndexInt32start index
6LenInt32element count

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

Remarks:

Add Src1 elements [Src1Index..Src1Index+Len-1] to corrresponding Src2 elements [Src2Index..Src12ndex+Len] and store the results in calling vector elements [Index..Index+Len-1]. An exception is raised if array borders are overrun.