TVecInt.Multiply Method

Overload List

#SignatureDescription
1TMtxVecInt Multiply(TMtxVecInt Src)Multiply Src elements with calling vector elements.
└ indexed: TMtxVecInt Multiply(TMtxVecInt Src, Int32 SrcIndex, Int32 Index, Int32 Len)
2TMtxVecInt Multiply(TMtxVecInt Src1, TMtxVecInt Src2)Multiplies coresponding elements in Src2 with Src1.
3TMtxVecInt Multiply(TMtxVecInt Src, Int32 Value)Multiply integer Value with all Src elements.
└ indexed: TMtxVecInt Multiply(TMtxVecInt Src, Int32 Value, Int32 SrcIndex, Int32 Index, Int32 Len)
4TMtxVecInt Multiply(Int32 Value)Multiply integer value with all calling vector elements.
└ indexed: TMtxVecInt Multiply(Int32 Value, Int32 Index, Int32 Len)
5TMtxVecInt Multiply(TMtxVecInt Src1, TMtxVecInt Src2, Int32 SrcIndex1, Int32 SrcIndex2, Int32 Index, Int32 Len)Multiply coresponding elements in Src2 with Src1.

Overload 1: TMtxVecInt Multiply(TMtxVecInt Src)

Multiply Src elements with calling vector elements.

#NameTypeDescription
1SrcTMtxVecIntsource TVecInt or TMtxInt

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

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

Mjultiply Src elements [SrcIndex..SrcIndex+Len-1] with 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:

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

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

Multiplies coresponding elements in Src2 with Src1.

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

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

Returns: the result of multipliing Src2 values with coresponding Src1 values.

Overload 3: TMtxVecInt Multiply(TMtxVecInt Src, Int32 Value)

Multiply integer Value with all Src elements.

#NameTypeDescription
1SrcTMtxVecIntsource TVecInt or TMtxInt
2ValueInt32

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

Remarks:

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

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

Multiply integer value with Src vector 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:

Store the results in calling vector elements [Index..Index+Len-1]. An exception is raised if array borders are overrun.

Overload 4: TMtxVecInt Multiply(Int32 Value)

Multiply integer value with all calling vector elements.

#NameTypeDescription
1ValueInt32

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

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

Multiply integer value with 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 5: TMtxVecInt Multiply(TMtxVecInt Src1, TMtxVecInt Src2, Int32 SrcIndex1, Int32 SrcIndex2, Int32 Index, Int32 Len)

Multiply coresponding elements in Src2 with Src1.

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

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

Remarks:

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