clMatrix.FlipConj Method

Overload List

#SignatureDescription
1function FlipConj: TOpenCLMtxVec;Flips the real and imaginary part of complex numbers and conjugates the complex numbers.
└ indexed: function FlipConj(Index: Integer; Len: Integer): TOpenCLMtxVec;
2function FlipConj(const X: TOpenCLMtxVec): TOpenCLMtxVec;Flip all X object complex elements.
└ indexed: function FlipConj(const X: TOpenCLMtxVec; XIndex: Integer; Index: Integer; Len: Integer): TOpenCLMtxVec;

Overload 1: function FlipConj: TOpenCLMtxVec;

Flips the real and imaginary part of complex numbers and conjugates the complex numbers.

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

Remarks:

Performs the following transformation:

a + i*bi ==> b - i*a

Method flips the real and imaginary part and conjugates calling object complex elements in-place.

See Also: clMatrix.Flip, clMatrix.Conj

Indexed: function FlipConj(Index: Integer; Len: Integer): TOpenCLMtxVec;

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

#NameTypeDescription
1IndexIntegerstart index
2LenIntegerelement count

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

Remarks:

An exception is raised if calling object clMatrix.Complex property is false or if array borders are overrun/underrun.

Overload 2: function FlipConj(const X: TOpenCLMtxVec): TOpenCLMtxVec;

Flip all X object complex elements.

#NameTypeDescription
1XTOpenCLMtxVec

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

Remarks:

Store the results in calling object. Size and clMatrix.Complex property of calling object are adjusted automatically.

Indexed: function FlipConj(const X: TOpenCLMtxVec; XIndex: Integer; Index: Integer; Len: Integer): TOpenCLMtxVec;

Flip X object complex elements [XIndex]..[XIndex+Len-1].

#NameTypeDescription
1XTOpenCLMtxVec
2XIndexIntegerX start index
3IndexIntegerstart index
4LenIntegerelement count

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

Remarks:

Store the results in calling object elements [Index]..[Index+Len-1]. An exception is raised if calling object clMatrix.Complex property is false or if array borders are overrun/underrun.