Vector.FlipConj Method

Overload List

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

Overload 1: function FlipConj: TMtxVec;

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 operation:

a + bi ==> b - ai

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

See Also: Vector.Flip, Vector.Conj

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

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 Vector.Complex property is false or if array borders are overrun/underrun.

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

Flip all X object complex elements and store the results in calling object.

#NameTypeDescription
1XTMtxVec

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

Remarks:

Size and Vector.Complex property of calling object are adjusted automatically.

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

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

#NameTypeDescription
1XTMtxVec
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 Vector.Complex property is false or if array borders are overrun/underrun.