clVector.Conj Method

Overload List

#SignatureDescription
1TOpenCLMtxVec ConjConjugate.
└ indexed: TOpenCLMtxVec Conj(Int32 Index, Int32 Len)
2TOpenCLMtxVec Conj(TOpenCLMtxVec Vec)Conjugate each of Vec elements.
└ indexed: TOpenCLMtxVec Conj(TOpenCLMtxVec Vec, Int32 VecIndex, Int32 Index, Int32 Len)

Overload 1: TOpenCLMtxVec Conj

Conjugate.

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

Remarks:

Conjugate all calling object elements in-place.

Examples
clVector c;
c.CopyFromArray(TSingleArray.Create(1,2,3,4));  // c = [1+2i, 3+4i]
c.Conj;                   // c = [1-2i, 3-4i]

Indexed: TOpenCLMtxVec Conj(Int32 Index, Int32 Len)

Conjugate calling object elements [Index]..[Index+Len-1] in-place.

#NameTypeDescription
1IndexInt32start index
2LenInt32element count

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

Remarks:

An exception is raised if array borders are overrun.

Overload 2: TOpenCLMtxVec Conj(TOpenCLMtxVec Vec)

Conjugate each of Vec elements.

#NameTypeDescription
1VecTOpenCLMtxVecsource TOpenCLVector or TOpenCLMatrix

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

Remarks:

Store the results in the calling object. The Size and Dew.Math.clVector.Complex properties of the calling object are set implicitly to match Vec vector.

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

Conjugate Vec elements Vec[VecIndex]..Vec[VecIndex+Len-1].

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

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

Remarks:

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