Overload List
| # | Signature | Description |
|---|---|---|
| 1 | TMtxVec ConjMul(TMtxVec Vec) | Conjugate and multiply. |
| └ indexed: TMtxVec ConjMul(TMtxVec Vec, Int32 VecIndex, Int32 Index, Int32 Len) | ||
| 2 | TMtxVec ConjMul(TMtxVec Vec1, TMtxVec Vec2) | Conjugate each of Vec2 elements and multiply them with corresponding elements in Vec1. |
| └ indexed: TMtxVec ConjMul(TMtxVec Vec1, TMtxVec Vec2, Int32 Vec1Index, Int32 Vec2Index, Int32 Index, Int32 Len) |
Overload 1: TMtxVec ConjMul(TMtxVec Vec)
Conjugate and multiply.
| # | Name | Type | Description |
|---|---|---|---|
| 1 | Vec | TMtxVec | source TVec or TMtx |
Result: stored in self (calling object), returns self for chaining
Conjugate each of Vec elements and multiply them with corresponding elements in the calling object. The results are stored in the calling object. Size and Dew.Math.Vector.Complex properties of the calling object are set implicitly to match Vec.
Vector a;
Vector b;
Vector c;
a.SetIt(true,new double[] {1,2,3,4});
b.SetIt(true,new double[] {4,3,2,1});
c.ConjMul(a,b);
Indexed: TMtxVec ConjMul(TMtxVec Vec, Int32 VecIndex, Int32 Index, Int32 Len)
Conjugate Vec elements Vec[VecIndex]..Vec[VecIndex+Len-1] and multiply them with corresponding calling object elements [Index]..[Index+Len-1].
| # | Name | Type | Description |
|---|---|---|---|
| 1 | Vec | TMtxVec | source TVec or TMtx |
| 2 | VecIndex | Int32 | |
| 3 | Index | Int32 | start index |
| 4 | Len | Int32 | element count |
Result: stored in self (calling object), returns self for chaining
The results are stored in the calling object elements [Index]..[Index+Len-1]. Size and Dew.Math.Vector.Complex properties are not set. An exception is raised if Dew.Math.Vector.ConditionCheck is true and array borders are overrun or underrun.
Overload 2: TMtxVec ConjMul(TMtxVec Vec1, TMtxVec Vec2)
Conjugate each of Vec2 elements and multiply them with corresponding elements in Vec1.
Result: stored in self (calling object), returns self for chaining
The results are stored in the calling object. Size and Dew.Math.Vector.Complex properties of the calling object are set implicitly to match Vec1 and Vec2 objects.
Indexed: TMtxVec ConjMul(TMtxVec Vec1, TMtxVec Vec2, Int32 Vec1Index, Int32 Vec2Index, Int32 Index, Int32 Len)
Conjugate Vec2 elements [Vec2Index]..[Vec2Index+Len-1] and multiply them with corresponding Vec1 elements [Vec1Index]..[Vec1Index+Len-1].
| # | Name | Type | Description |
|---|---|---|---|
| 1 | Vec1 | TMtxVec | source TVec or TMtx |
| 2 | Vec2 | TMtxVec | source TVec or TMtx |
| 3 | Vec1Index | Int32 | |
| 4 | Vec2Index | Int32 | |
| 5 | Index | Int32 | start index |
| 6 | Len | Int32 | element count |
Result: stored in self (calling object), returns self for chaining
The results are stored in the calling object elements [Index]..[Index+Len-1]. Size and Dew.Math.Vector.Complex properties of the calling vector must be set explicitly. An exception is raised if Dew.Math.Vector.ConditionCheck is true and array borders are overrun.