MatrixInt.Divide Method

Overload List

#SignatureDescription
1TMtxVecInt Divide(TMtxVecInt Src)Divide calling object elements with Src elements.
└ indexed: TMtxVecInt Divide(TMtxVecInt Src, Int32 SrcIndex, Int32 Index, Int32 Len)
2TMtxVecInt Divide(TMtxVecInt Num, TMtxVecInt Den)Divides coresponding elements in Num with Den.
3TMtxVecInt Divide(TMtxVecInt X, TMtxVecInt Y, TMtxVecInt Z)self = X / (Y*Z)
└ indexed: TMtxVecInt Divide(TMtxVecInt X, Int32 XIndex, TMtxVecInt Y, Int32 YIndex, TMtxVecInt Z, Int32 zIndex, Int32 Index, Int32 Len)
4TMtxVecInt Divide(TMtxVecInt Src, Int32 Value)Divide all Src vector elements with integer Value.
└ indexed: TMtxVecInt Divide(TMtxVecInt Src, Int32 Value, Int32 SrcIndex, Int32 Index, Int32 Len)
5TMtxVecInt Divide(Int32 Value)Divide all calling vector elements with integer value.
└ indexed: TMtxVecInt Divide(Int32 Value, Int32 Index, Int32 Len)
6TMtxVecInt Divide(Int32 X, TMtxVecInt Y, TMtxVecInt Z)self = xScalar / (Y*Z)
└ indexed: TMtxVecInt Divide(Int32 X, TMtxVecInt Y, Int32 YIndex, TMtxVecInt Z, Int32 zIndex, Int32 Index, Int32 Len)
7TMtxVecInt Divide(TMtxVecInt Num, TMtxVecInt Den, Int32 NumIndex, Int32 DenIndex, Int32 Index, Int32 Len)Divide coresponding elements in Num with Den.

Overload 1: TMtxVecInt Divide(TMtxVecInt Src)

Divide calling object elements with Src elements.

#NameTypeDescription
1SrcTMtxVecIntsource TVecInt or TMtxInt

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

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

Divide calling object elements with Src elements [SrcIndex..SrcIndex+Len-1].

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

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

Remarks:

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

Overload 2: TMtxVecInt Divide(TMtxVecInt Num, TMtxVecInt Den)

Divides coresponding elements in Num with Den.

#NameTypeDescription
1NumTMtxVecIntsource TVecInt or TMtxInt
2DenTMtxVecIntsource TVecInt or TMtxInt

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

Returns: the result of dividing Num values with coresponding Den values.

Overload 3: TMtxVecInt Divide(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

Remarks:

The following expression would also run at the same or higher speed, when passing Y also for the Z parameter:

X / (Y^2)

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

Compute X/( Y*Z ) on sub array

#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 Divide(TMtxVecInt Src, Int32 Value)

Divide all Src vector elements with integer Value.

#NameTypeDescription
1SrcTMtxVecIntsource TVecInt or TMtxInt
2ValueInt32

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

Remarks:

Size of calling vector is adjusted automatically.

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

Divide Src vector elements [SrcIndex..SrcIndex+Len-1] with integer Value.

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

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

Remarks:

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

Overload 5: TMtxVecInt Divide(Int32 Value)

Divide all calling vector elements with integer value.

#NameTypeDescription
1ValueInt32

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

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

Divide calling vector elements [Index..Index+Len-1] with integer value.

#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 6: TMtxVecInt Divide(Int32 X, TMtxVecInt Y, TMtxVecInt Z)

Compute xScalar / (Y*Z)

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

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

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

Compute xScalar / (Y*Z) on sub array

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

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

Overload 7: TMtxVecInt Divide(TMtxVecInt Num, TMtxVecInt Den, Int32 NumIndex, Int32 DenIndex, Int32 Index, Int32 Len)

Divide coresponding elements in Num with Den.

#NameTypeDescription
1NumTMtxVecIntsource TVecInt or TMtxInt
2DenTMtxVecIntsource TVecInt or TMtxInt
3NumIndexInt32
4DenIndexInt32
5IndexInt32start index
6LenInt32element count

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

Remarks:

Divide Num elements [NumIndex..NumIndex+Len-1] with corrresponding Deb elements [DenIndex..DenIndex+Len-1] and store the results in calling vector elements [Index..Index+Len-1]. An exception is raised if array borders are overrun.