clMatrix.ConjMul Method

Overload List

#SignatureDescription
1TOpenCLMtxVec ConjMul(TOpenCLMtxVec Vec)Conjugate and multiply.
└ indexed: TOpenCLMtxVec ConjMul(TOpenCLMtxVec Vec, Int32 VecIndex, Int32 Index, Int32 Len)
2TOpenCLMtxVec ConjMul(TOpenCLMtxVec Vec1, TOpenCLMtxVec Vec2)Conjugate each of Vec2 elements and multiply them with corresponding elements in Vec1.
└ indexed: TOpenCLMtxVec ConjMul(TOpenCLMtxVec Vec1, TOpenCLMtxVec Vec2, Int32 Vec1Index, Int32 Vec2Index, Int32 Index, Int32 Len)

Overload 1: TOpenCLMtxVec ConjMul(TOpenCLMtxVec Vec)

Conjugate and multiply.

#NameTypeDescription
1VecTOpenCLMtxVecsource TOpenCLVector or TOpenCLMatrix

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

Remarks:

Conjugate each of Vec elements and multiply them with corresponding elements in the calling object. The results are stored in the calling object. Size and Dew.Math.clMatrix.Complex properties of the calling object are set implicitly to match Vec.

Examples
clMatrix a;
clMatrix b;
clMatrix c;
a.CopyCplxFromArray(2,2, TSingleArray.Create(1,2,3,4));
b.CopyCplxFromArray(2,2, TSingleArray.Create(4,3,2,1));
c.ConjMul(a,b);
See Also: clMatrix.Conj, clMatrix.Mul

Indexed: TOpenCLMtxVec ConjMul(TOpenCLMtxVec Vec, Int32 VecIndex, Int32 Index, Int32 Len)

Conjugate Vec elements Vec[VecIndex]..Vec[VecIndex+Len-1] and multiply them with corresponding calling object elements [Index]..[Index+Len-1].

#NameTypeDescription
1VecTOpenCLMtxVecsource TOpenCLVector or TOpenCLMatrix
2VecIndexInt32
3IndexInt32start index
4LenInt32element count

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

Remarks:

The results are stored in the calling object elements [Index]..[Index+Len-1]. Size and Dew.Math.clMatrix.Complex properties are not set.

An exception is raised if array borders are overrun or underrun.

Overload 2: TOpenCLMtxVec ConjMul(TOpenCLMtxVec Vec1, TOpenCLMtxVec Vec2)

Conjugate each of Vec2 elements and multiply them with corresponding elements in Vec1.

#NameTypeDescription
1Vec1TOpenCLMtxVecsource TOpenCLVector or TOpenCLMatrix
2Vec2TOpenCLMtxVecsource TOpenCLVector or TOpenCLMatrix

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

Remarks:

The results are stored in the calling object. Size and Dew.Math.clMatrix.Complex properties of the calling object are set implicitly to match Vec1 and Vec2 objects.

Indexed: TOpenCLMtxVec ConjMul(TOpenCLMtxVec Vec1, TOpenCLMtxVec Vec2, Int32 Vec1Index, Int32 Vec2Index, Int32 Index, Int32 Len)

Conjugate Vec2 elements [Vec2Index]..[Vec2Index+Len-1] and multiply them with corresponding Vec1 elements [Vec1Index]..[Vec1Index+Len-1].

#NameTypeDescription
1Vec1TOpenCLMtxVecsource TOpenCLVector or TOpenCLMatrix
2Vec2TOpenCLMtxVecsource TOpenCLVector or TOpenCLMatrix
3Vec1IndexInt32
4Vec2IndexInt32
5IndexInt32start index
6LenInt32element count

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

Remarks:

The results are stored in the calling object elements [Index]..[Index+Len-1]. Size and Dew.Math.clMatrix.Complex properties of the calling vector must be set explicitly. An exception is raised if array borders are overrun.