Matrix.Conj Method

Overload List

#SignatureDescription
1function Conj: TMtxVec;Conjugate.
└ indexed: function Conj(Index: Integer; Len: Integer): TMtxVec;
2function Conj(const Vec: TMtxVec): TMtxVec;Conjugate each of Vec elements and store the results in the calling object.
└ indexed: function Conj(const Vec: TMtxVec; VecIndex: Integer; Index: Integer; Len: Integer): TMtxVec;

Overload 1: function Conj: TMtxVec;

Conjugate.

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

Remarks:

Conjugate all calling object elements in-place.

Examples
var c: Matrix;
begin
    c.SetIt(1,2,True,[1,2,3,4]);  // c = [1+2i, 3+4i]
    c.Conj;                   // c = [1-2i, 3-4i]
end;

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

Conjugate calling object 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 Matrix.ConditionCheck is true and array borders are overrun.

Overload 2: function Conj(const Vec: TMtxVec): TMtxVec;

Conjugate each of Vec elements and store the results in the calling object.

#NameTypeDescription
1VecTMtxVec

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

Remarks:

Size and Matrix.Complex properties of the calling object are set implicitly to match Vec Matrix.

Indexed: function Conj(const Vec: TMtxVec; VecIndex: Integer; Index: Integer; Len: Integer): TMtxVec;

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

#NameTypeDescription
1VecTMtxVec
2VecIndexInteger
3IndexIntegerstart index
4LenIntegerelement 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 Matrix.Complex properties of the calling object must be set explicitly. An exception is raised if Matrix.ConditionCheck is true and array borders are overrun.