TMtxInt.Mul Method

Overload List

#SignatureDescription
1TMtxVecInt Mul(TMtxVecInt X, TMtxVecInt Y, TMtxVecInt Z)self = X*Y*Z
└ indexed: TMtxVecInt Mul(TMtxVecInt X, Int32 XIndex, TMtxVecInt Y, Int32 YIndex, TMtxVecInt Z, Int32 zIndex, Int32 Index, Int32 Len)
2TMtxVecInt Mul(TMtxVecInt X, TMtxVecInt Y, Int32 Z)self = X*Y*zScalar
└ indexed: TMtxVecInt Mul(TMtxVecInt X, Int32 XIndex, TMtxVecInt Y, Int32 YIndex, Int32 Z, Int32 Index, Int32 Len)

Overload 1: TMtxVecInt Mul(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 X also for the Z parameter:

X^2*Y

Indexed: TMtxVecInt Mul(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 2: TMtxVecInt Mul(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

Remarks:

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

X^2*zScalar

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

Compute X*Y*zScalar on sub array

#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