Overload List
| # | Signature | Description |
|---|---|---|
| 1 | TMtxVec SubFrom(TCplx Value) | Subtract each of calling object elements from complex Value. |
| └ indexed: TMtxVec SubFrom(TCplx Value, Int32 Index, Int32 Len) | ||
| 2 | TMtxVec SubFrom(TCplx Value, TMtxVec Vec) | subtract complex Vec elements from Value. |
| └ indexed: TMtxVec SubFrom(TCplx Value, TMtxVec Vec, Int32 VecIndex, Int32 Index, Int32 Len) | ||
| 3 | TMtxVec SubFrom(Double Value) | Subtraction from value. |
| └ indexed: TMtxVec SubFrom(Double Value, Int32 Index, Int32 Len) | ||
| 4 | TMtxVec SubFrom(Double Value, TMtxVec Vec) | subtract Vec elements from Value. |
| └ indexed: TMtxVec SubFrom(Double Value, TMtxVec Vec, Int32 VecIndex, Int32 Index, Int32 Len) |
Overload 1: TMtxVec SubFrom(TCplx Value)
Subtract each of calling object elements from complex Value.
| # | Name | Type | Description |
|---|---|---|---|
| 1 | Value | TCplx | scalar |
Result: stored in self (calling object), returns self for chaining
If the calling vector s not complex, the conversion is performed automatically in a performance efficient way.
Indexed: TMtxVec SubFrom(TCplx Value, Int32 Index, Int32 Len)
Subtract elements [Index]..[Index+Len-1] from complex Value.
| # | Name | Type | Description |
|---|---|---|---|
| 1 | Value | TCplx | scalar |
| 2 | Index | Int32 | start index |
| 3 | Len | Int32 | element count |
Result: stored in self (calling object), returns self for chaining
Store the result in calling object. If the calling vector is not complex, the conversion to complex is performed automatically in performance efficient way. An exception is raised if Dew.Math.TMtxVecBase.ConditionCheck is True and array borders are overrun or underrun.
Overload 2: TMtxVec SubFrom(TCplx Value, TMtxVec Vec)
subtract complex Vec elements from Value.
Result: stored in self (calling object), returns self for chaining
Stores the result in the calling object. Size property of the calling object is set automatically. Dew.Math.TMtxVec.Complex property of the calling object is set to True.
Indexed: TMtxVec SubFrom(TCplx Value, TMtxVec Vec, Int32 VecIndex, Int32 Index, Int32 Len)
subtract Vec elements [VecIndex]..[VecIndex+Len-1] from complex Value and store the result to the calling object elements [Index]..[Index+Len-1].
| # | Name | Type | Description |
|---|---|---|---|
| 1 | Value | TCplx | scalar |
| 2 | Vec | TMtxVec | source TVec or TMtx |
| 3 | VecIndex | Int32 | |
| 4 | Index | Int32 | start index |
| 5 | Len | Int32 | element count |
Result: stored in self (calling object), returns self for chaining
Size property of the calling object is not changed. An exception is raised if Dew.Math.TMtxVecBase.ConditionCheck is True and array borders are overrun or underrun. Dew.Math.TMtxVec.Complex property of the calling object is set to True.
Overload 3: TMtxVec SubFrom(Double Value)
Subtraction from value.
| # | Name | Type | Description |
|---|---|---|---|
| 1 | Value | Double | scalar |
Result: stored in self (calling object), returns self for chaining
Subtract each of calling object elements from Value.
Indexed: TMtxVec SubFrom(Double Value, Int32 Index, Int32 Len)
Subtract elements [Index]..[Index+Len-1] from Value.
| # | Name | Type | Description |
|---|---|---|---|
| 1 | Value | Double | scalar |
| 2 | Index | Int32 | start index |
| 3 | Len | Int32 | element count |
Result: stored in self (calling object), returns self for chaining
Store the result in calling vector. An exception is raised if Dew.Math.TMtxVecBase.ConditionCheck is True and array borders are overrun or underrun.
Overload 4: TMtxVec SubFrom(Double Value, TMtxVec Vec)
subtract Vec elements from Value.
| # | Name | Type | Description |
|---|---|---|---|
| 1 | Value | Double | scalar |
| 2 | Vec | TMtxVec | source TVec or TMtx |
Result: stored in self (calling object), returns self for chaining
Stores the result in the calling object. Size and Dew.Math.TMtxVec.Complex properties of calling object are adjusted automatically.
Indexed: TMtxVec SubFrom(Double Value, TMtxVec Vec, Int32 VecIndex, Int32 Index, Int32 Len)
subtract Vec elements [VecIndex]..[VecIndex+Len-1] from Value.
| # | Name | Type | Description |
|---|---|---|---|
| 1 | Value | Double | scalar |
| 2 | Vec | TMtxVec | source TVec or TMtx |
| 3 | VecIndex | Int32 | |
| 4 | Index | Int32 | start index |
| 5 | Len | Int32 | element count |
Result: stored in self (calling object), returns self for chaining
Stores the result to the calling object elements [Index]..[Index+Len-1]. Size property of the calling object is not changed. An exception is raised if Dew.Math.TMtxVecBase.ConditionCheck is True and array borders are overrun or underrun. Dew.Math.TMtxVec.Complex property of the calling object is adjusted automatically.