TMtx.Conj Method

Overload List

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

Overload 1: TMtxVec Conj

Conjugate.

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

Remarks:

Conjugate all calling object elements in-place.

Examples
Matrix c;
c.SetIt(1,2,true,new double[] {1,2,3,4});  // c = [1+2i, 3+4i]
c.Conj;                   // c = [1-2i, 3-4i]

Indexed: TMtxVec 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 Dew.Math.TMtxVecBase.ConditionCheck is true and array borders are overrun.

Overload 2: TMtxVec Conj(TMtxVec Vec)

Conjugate each of Vec elements.

#NameTypeDescription
1VecTMtxVecsource TVec or TMtx

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

Remarks:

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

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

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

#NameTypeDescription
1VecTMtxVecsource TVec or TMtx
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.TMtxVec.Complex properties of the calling object must be set explicitly. An exception is raised if Dew.Math.TMtxVecBase.ConditionCheck is true and array borders are overrun.