Overload List
| # | Signature | Description |
|---|---|---|
| 1 | TMtxVec AddScaled(TMtxVec Vec, TCplx aScale) | Add each of Vec elements to corresponding elements in the calling object. |
| └ indexed: TMtxVec AddScaled(TMtxVec Vec, TCplx aScale, Int32 VecIndex, Int32 Index, Int32 Len) | ||
| 2 | TMtxVec AddScaled(TMtxVec X, TCplx xScale, TMtxVec Y, TCplx yScale) | self = X*xScale + Y*yScale |
| └ indexed: TMtxVec AddScaled(TMtxVec X, Int32 XIndex, TCplx xScale, TMtxVec Y, Int32 YIndex, TCplx yScale, Int32 Index, Int32 Len) | ||
| 3 | TMtxVec AddScaled(TMtxVec X, TCplx xScale, TMtxVec Y, TCplx yScale, TMtxVec Z, TCplx zScale) | self = X*xScale + Y*yScale + Z*zScale |
| └ indexed: TMtxVec AddScaled(TMtxVec X, Int32 XIndex, TCplx xScale, TMtxVec Y, Int32 YIndex, TCplx yScale, TMtxVec Z, Int32 zIndex, TCplx zScale, Int32 Index, Int32 Len) | ||
| 4 | TMtxVec AddScaled(TMtxVec X, TMtxVec Y, TCplx yScale) | self = X + Y*yScale with complex arguments |
| └ indexed: TMtxVec AddScaled(TMtxVec X, Int32 XIndex, TMtxVec Y, Int32 YIndex, TCplx yScale, Int32 Index, Int32 Len) | ||
| 5 | TMtxVec AddScaled(TMtxVec X, TMtxVec Y, TCplx yScale, TMtxVec Z, TCplx zScale) | self = X + Y*yScale + Z*zScale |
| └ indexed: TMtxVec AddScaled(TMtxVec X, Int32 XIndex, TMtxVec Y, Int32 YIndex, TCplx yScale, TMtxVec Z, Int32 zIndex, TCplx zScale, Int32 Index, Int32 Len) | ||
| 6 | TMtxVec AddScaled(TMtxVec X, TMtxVec Y, TMtxVec Z, TCplx zScale) | self = X + Y + Z*zScale |
| └ indexed: TMtxVec AddScaled(TMtxVec X, Int32 XIndex, TMtxVec Y, Int32 YIndex, TMtxVec Z, Int32 zIndex, TCplx zScale, Int32 Index, Int32 Len) | ||
| 7 | TMtxVec AddScaled(TMtxVec X, TMtxVec Y, TMtxVec Z, Double zScale) | self = X + Y + Z*zScale |
| └ indexed: TMtxVec AddScaled(TMtxVec X, Int32 XIndex, TMtxVec Y, Int32 YIndex, TMtxVec Z, Int32 zIndex, Double zScale, Int32 Index, Int32 Len) | ||
| 8 | TMtxVec AddScaled(TMtxVec X, TMtxVec Y, Double yScale) | self = X + Y*yScale |
| └ indexed: TMtxVec AddScaled(TMtxVec X, Int32 XIndex, TMtxVec Y, Int32 YIndex, Double yScale, Int32 Index, Int32 Len) | ||
| 9 | TMtxVec AddScaled(TMtxVec X, TMtxVec Y, Double yScale, TMtxVec Z, Double zScale) | self = X + Y*yScale + Z*zScale |
| └ indexed: TMtxVec AddScaled(TMtxVec X, Int32 XIndex, TMtxVec Y, Int32 YIndex, Double yScale, TMtxVec Z, Int32 zIndex, Double zScale, Int32 Index, Int32 Len) | ||
| 10 | TMtxVec AddScaled(TMtxVec Vec, Double aScale) | Add each of Vec elements to corresponding elements in the calling object. |
| └ indexed: TMtxVec AddScaled(TMtxVec Vec, Double aScale, Int32 VecIndex, Int32 Index, Int32 Len) | ||
| 11 | TMtxVec AddScaled(TMtxVec X, Double xScale, TMtxVec Y, Double yScale) | self = X*xScale + Y*yScale |
| └ indexed: TMtxVec AddScaled(TMtxVec X, Int32 XIndex, Double xScale, TMtxVec Y, Int32 YIndex, Double yScale, Int32 Index, Int32 Len) | ||
| 12 | TMtxVec AddScaled(TMtxVec X, Double xScale, TMtxVec Y, Double yScale, TMtxVec Z, Double zScale) | self = X*xScale + Y*yScale + Z*zScale |
| └ indexed: TMtxVec AddScaled(TMtxVec X, Int32 XIndex, Double xScale, TMtxVec Y, Int32 YIndex, Double yScale, TMtxVec Z, Int32 zIndex, Double zScale, Int32 Index, Int32 Len) | ||
| 13 | TMtxVec AddScaled(TMtxVec Vec, Double RScale, Double IScale) | Add each of Vec elements to corresponding elements in the calling object. |
Overload 1: TMtxVec AddScaled(TMtxVec Vec, TCplx aScale)
Add each of Vec elements to corresponding elements in the calling object.
Result: stored in self (calling object), returns self for chaining
In addition, the following formula is being used:
result = result+ aScale*Vec .
The results are stored in the calling object. Size and Dew.Math.TMtxVec.Complex properties of the calling object are set implicitly to match the Vec object.
Indexed: TMtxVec AddScaled(TMtxVec Vec, TCplx aScale, Int32 VecIndex, Int32 Index, Int32 Len)
Adds Vec elements [VecIndex]..[VecIndex+Len-1] to calling object elements [Index]..[Index+Len-1].
| # | Name | Type | Description |
|---|---|---|---|
| 1 | Vec | TMtxVec | source TVec or TMtx |
| 2 | aScale | TCplx | scalar |
| 3 | VecIndex | Int32 | |
| 4 | Index | Int32 | start index |
| 5 | Len | Int32 | element count |
Result: stored in self (calling object), returns self for chaining
In addition, the following formula is being used:
result = result+ aScale*Vec .
An exception is raised if Dew.Math.TMtxVecBase.ConditionCheck is true and array borders are overrun.
Overload 2: TMtxVec AddScaled(TMtxVec X, TCplx xScale, TMtxVec Y, TCplx yScale)
Compute X*xScale + Y*yScale
| # | Name | Type | Description |
|---|---|---|---|
| 1 | X | TMtxVec | source TVec or TMtx |
| 2 | xScale | TCplx | scalar |
| 3 | Y | TMtxVec | source TVec or TMtx |
| 4 | yScale | TCplx | scalar |
Result: stored in self (calling object), returns self for chaining
Indexed: TMtxVec AddScaled(TMtxVec X, Int32 XIndex, TCplx xScale, TMtxVec Y, Int32 YIndex, TCplx yScale, Int32 Index, Int32 Len)
Compute X*xScale + Y*yScale on sub arrays
| # | Name | Type | Description |
|---|---|---|---|
| 1 | X | TMtxVec | source TVec or TMtx |
| 2 | XIndex | Int32 | X start index |
| 3 | xScale | TCplx | scalar |
| 4 | Y | TMtxVec | source TVec or TMtx |
| 5 | YIndex | Int32 | Y start index |
| 6 | yScale | TCplx | scalar |
| 7 | Index | Int32 | start index |
| 8 | Len | Int32 | element count |
Result: stored in self (calling object), returns self for chaining
Overload 3: TMtxVec AddScaled(TMtxVec X, TCplx xScale, TMtxVec Y, TCplx yScale, TMtxVec Z, TCplx zScale)
Compute X*xScale + Y*yScale + Z*zScale
| # | Name | Type | Description |
|---|---|---|---|
| 1 | X | TMtxVec | source TVec or TMtx |
| 2 | xScale | TCplx | scalar |
| 3 | Y | TMtxVec | source TVec or TMtx |
| 4 | yScale | TCplx | scalar |
| 5 | Z | TMtxVec | source TVec or TMtx |
| 6 | zScale | TCplx | scalar |
Result: stored in self (calling object), returns self for chaining
Indexed: TMtxVec AddScaled(TMtxVec X, Int32 XIndex, TCplx xScale, TMtxVec Y, Int32 YIndex, TCplx yScale, TMtxVec Z, Int32 zIndex, TCplx zScale, Int32 Index, Int32 Len)
Compute X*xScale + Y*yScale + Z*zScale on sub arrays
| # | Name | Type | Description |
|---|---|---|---|
| 1 | X | TMtxVec | source TVec or TMtx |
| 2 | XIndex | Int32 | X start index |
| 3 | xScale | TCplx | scalar |
| 4 | Y | TMtxVec | source TVec or TMtx |
| 5 | YIndex | Int32 | Y start index |
| 6 | yScale | TCplx | scalar |
| 7 | Z | TMtxVec | source TVec or TMtx |
| 8 | zIndex | Int32 | |
| 9 | zScale | TCplx | scalar |
| 10 | Index | Int32 | start index |
| 11 | Len | Int32 | element count |
Result: stored in self (calling object), returns self for chaining
Overload 4: TMtxVec AddScaled(TMtxVec X, TMtxVec Y, TCplx yScale)
Compute X + Y*yScale with complex arguments.
Result: stored in self (calling object), returns self for chaining
Indexed: TMtxVec AddScaled(TMtxVec X, Int32 XIndex, TMtxVec Y, Int32 YIndex, TCplx yScale, Int32 Index, Int32 Len)
Compute X + Y*yScale on sub arrays with complex arguments.
| # | Name | Type | Description |
|---|---|---|---|
| 1 | X | TMtxVec | source TVec or TMtx |
| 2 | XIndex | Int32 | X start index |
| 3 | Y | TMtxVec | source TVec or TMtx |
| 4 | YIndex | Int32 | Y start index |
| 5 | yScale | TCplx | scalar |
| 6 | Index | Int32 | start index |
| 7 | Len | Int32 | element count |
Result: stored in self (calling object), returns self for chaining
Overload 5: TMtxVec AddScaled(TMtxVec X, TMtxVec Y, TCplx yScale, TMtxVec Z, TCplx zScale)
Compute X + Y*yScale + Z*zScale
| # | Name | Type | Description |
|---|---|---|---|
| 1 | X | TMtxVec | source TVec or TMtx |
| 2 | Y | TMtxVec | source TVec or TMtx |
| 3 | yScale | TCplx | scalar |
| 4 | Z | TMtxVec | source TVec or TMtx |
| 5 | zScale | TCplx | scalar |
Result: stored in self (calling object), returns self for chaining
Indexed: TMtxVec AddScaled(TMtxVec X, Int32 XIndex, TMtxVec Y, Int32 YIndex, TCplx yScale, TMtxVec Z, Int32 zIndex, TCplx zScale, Int32 Index, Int32 Len)
Compute X + Y*yScale + Z*zScale on sub arrays
| # | Name | Type | Description |
|---|---|---|---|
| 1 | X | TMtxVec | source TVec or TMtx |
| 2 | XIndex | Int32 | X start index |
| 3 | Y | TMtxVec | source TVec or TMtx |
| 4 | YIndex | Int32 | Y start index |
| 5 | yScale | TCplx | scalar |
| 6 | Z | TMtxVec | source TVec or TMtx |
| 7 | zIndex | Int32 | |
| 8 | zScale | TCplx | scalar |
| 9 | Index | Int32 | start index |
| 10 | Len | Int32 | element count |
Result: stored in self (calling object), returns self for chaining
Overload 6: TMtxVec AddScaled(TMtxVec X, TMtxVec Y, TMtxVec Z, TCplx zScale)
Compute X + Y + Z*zScale
| # | Name | Type | Description |
|---|---|---|---|
| 1 | X | TMtxVec | source TVec or TMtx |
| 2 | Y | TMtxVec | source TVec or TMtx |
| 3 | Z | TMtxVec | source TVec or TMtx |
| 4 | zScale | TCplx | scalar |
Result: stored in self (calling object), returns self for chaining
Indexed: TMtxVec AddScaled(TMtxVec X, Int32 XIndex, TMtxVec Y, Int32 YIndex, TMtxVec Z, Int32 zIndex, TCplx zScale, Int32 Index, Int32 Len)
Compute X + Y + Z*zScale on sub arrays
| # | Name | Type | Description |
|---|---|---|---|
| 1 | X | TMtxVec | source TVec or TMtx |
| 2 | XIndex | Int32 | X start index |
| 3 | Y | TMtxVec | source TVec or TMtx |
| 4 | YIndex | Int32 | Y start index |
| 5 | Z | TMtxVec | source TVec or TMtx |
| 6 | zIndex | Int32 | |
| 7 | zScale | TCplx | scalar |
| 8 | Index | Int32 | start index |
| 9 | Len | Int32 | element count |
Result: stored in self (calling object), returns self for chaining
Overload 7: TMtxVec AddScaled(TMtxVec X, TMtxVec Y, TMtxVec Z, Double zScale)
Compute X + Y + Z*zScale
| # | Name | Type | Description |
|---|---|---|---|
| 1 | X | TMtxVec | source TVec or TMtx |
| 2 | Y | TMtxVec | source TVec or TMtx |
| 3 | Z | TMtxVec | source TVec or TMtx |
| 4 | zScale | Double | scalar |
Result: stored in self (calling object), returns self for chaining
Indexed: TMtxVec AddScaled(TMtxVec X, Int32 XIndex, TMtxVec Y, Int32 YIndex, TMtxVec Z, Int32 zIndex, Double zScale, Int32 Index, Int32 Len)
Compute X + Y + Z*zScale on sub arrays
| # | Name | Type | Description |
|---|---|---|---|
| 1 | X | TMtxVec | source TVec or TMtx |
| 2 | XIndex | Int32 | X start index |
| 3 | Y | TMtxVec | source TVec or TMtx |
| 4 | YIndex | Int32 | Y start index |
| 5 | Z | TMtxVec | source TVec or TMtx |
| 6 | zIndex | Int32 | |
| 7 | zScale | Double | scalar |
| 8 | Index | Int32 | start index |
| 9 | Len | Int32 | element count |
Result: stored in self (calling object), returns self for chaining
Overload 8: TMtxVec AddScaled(TMtxVec X, TMtxVec Y, Double yScale)
Compute X + Y*yScale
Result: stored in self (calling object), returns self for chaining
Indexed: TMtxVec AddScaled(TMtxVec X, Int32 XIndex, TMtxVec Y, Int32 YIndex, Double yScale, Int32 Index, Int32 Len)
Compute X + Y*yScale on sub arrays.
| # | Name | Type | Description |
|---|---|---|---|
| 1 | X | TMtxVec | source TVec or TMtx |
| 2 | XIndex | Int32 | X start index |
| 3 | Y | TMtxVec | source TVec or TMtx |
| 4 | YIndex | Int32 | Y start index |
| 5 | yScale | Double | scalar |
| 6 | Index | Int32 | start index |
| 7 | Len | Int32 | element count |
Result: stored in self (calling object), returns self for chaining
Overload 9: TMtxVec AddScaled(TMtxVec X, TMtxVec Y, Double yScale, TMtxVec Z, Double zScale)
Compute X + Y*yScale + Z*zScale
| # | Name | Type | Description |
|---|---|---|---|
| 1 | X | TMtxVec | source TVec or TMtx |
| 2 | Y | TMtxVec | source TVec or TMtx |
| 3 | yScale | Double | scalar |
| 4 | Z | TMtxVec | source TVec or TMtx |
| 5 | zScale | Double | scalar |
Result: stored in self (calling object), returns self for chaining
Indexed: TMtxVec AddScaled(TMtxVec X, Int32 XIndex, TMtxVec Y, Int32 YIndex, Double yScale, TMtxVec Z, Int32 zIndex, Double zScale, Int32 Index, Int32 Len)
Compute X + Y*yScale + Z*zScale on sub arrays
| # | Name | Type | Description |
|---|---|---|---|
| 1 | X | TMtxVec | source TVec or TMtx |
| 2 | XIndex | Int32 | X start index |
| 3 | Y | TMtxVec | source TVec or TMtx |
| 4 | YIndex | Int32 | Y start index |
| 5 | yScale | Double | scalar |
| 6 | Z | TMtxVec | source TVec or TMtx |
| 7 | zIndex | Int32 | |
| 8 | zScale | Double | scalar |
| 9 | Index | Int32 | start index |
| 10 | Len | Int32 | element count |
Result: stored in self (calling object), returns self for chaining
Overload 10: TMtxVec AddScaled(TMtxVec Vec, Double aScale)
Add each of Vec elements to corresponding elements in the calling object.
| # | Name | Type | Description |
|---|---|---|---|
| 1 | Vec | TMtxVec | source TVec or TMtx |
| 2 | aScale | Double | scalar |
Result: stored in self (calling object), returns self for chaining
In addition, the following formula is being used:
result = result+ aScale*Vec .
The results are stored in the calling object. Size and Dew.Math.TMtxVec.Complex properties of the calling object are set implicitly to match the Vec object.
Indexed: TMtxVec AddScaled(TMtxVec Vec, Double aScale, Int32 VecIndex, Int32 Index, Int32 Len)
Adds Vec elements [VecIndex]..[VecIndex+Len-1] to calling object elements [Index]..[Index+Len-1].
| # | Name | Type | Description |
|---|---|---|---|
| 1 | Vec | TMtxVec | source TVec or TMtx |
| 2 | aScale | Double | scalar |
| 3 | VecIndex | Int32 | |
| 4 | Index | Int32 | start index |
| 5 | Len | Int32 | element count |
Result: stored in self (calling object), returns self for chaining
The following formula is being used:
result = result + aScale*Vec .
An exception is raised if Dew.Math.TMtxVecBase.ConditionCheck is true and array borders are overrun.
Overload 11: TMtxVec AddScaled(TMtxVec X, Double xScale, TMtxVec Y, Double yScale)
Compute X*xScale + Y*yScale
| # | Name | Type | Description |
|---|---|---|---|
| 1 | X | TMtxVec | source TVec or TMtx |
| 2 | xScale | Double | scalar |
| 3 | Y | TMtxVec | source TVec or TMtx |
| 4 | yScale | Double | scalar |
Result: stored in self (calling object), returns self for chaining
Indexed: TMtxVec AddScaled(TMtxVec X, Int32 XIndex, Double xScale, TMtxVec Y, Int32 YIndex, Double yScale, Int32 Index, Int32 Len)
Compute X*xScale + Y*yScale on sub arrays
| # | Name | Type | Description |
|---|---|---|---|
| 1 | X | TMtxVec | source TVec or TMtx |
| 2 | XIndex | Int32 | X start index |
| 3 | xScale | Double | scalar |
| 4 | Y | TMtxVec | source TVec or TMtx |
| 5 | YIndex | Int32 | Y start index |
| 6 | yScale | Double | scalar |
| 7 | Index | Int32 | start index |
| 8 | Len | Int32 | element count |
Result: stored in self (calling object), returns self for chaining
Overload 12: TMtxVec AddScaled(TMtxVec X, Double xScale, TMtxVec Y, Double yScale, TMtxVec Z, Double zScale)
Compute X*xScale + Y*yScale + Z*zScale
| # | Name | Type | Description |
|---|---|---|---|
| 1 | X | TMtxVec | source TVec or TMtx |
| 2 | xScale | Double | scalar |
| 3 | Y | TMtxVec | source TVec or TMtx |
| 4 | yScale | Double | scalar |
| 5 | Z | TMtxVec | source TVec or TMtx |
| 6 | zScale | Double | scalar |
Result: stored in self (calling object), returns self for chaining
Indexed: TMtxVec AddScaled(TMtxVec X, Int32 XIndex, Double xScale, TMtxVec Y, Int32 YIndex, Double yScale, TMtxVec Z, Int32 zIndex, Double zScale, Int32 Index, Int32 Len)
Compute X*xScale + Y*yScale + Z*zScale on sub arrays
| # | Name | Type | Description |
|---|---|---|---|
| 1 | X | TMtxVec | source TVec or TMtx |
| 2 | XIndex | Int32 | X start index |
| 3 | xScale | Double | scalar |
| 4 | Y | TMtxVec | source TVec or TMtx |
| 5 | YIndex | Int32 | Y start index |
| 6 | yScale | Double | scalar |
| 7 | Z | TMtxVec | source TVec or TMtx |
| 8 | zIndex | Int32 | |
| 9 | zScale | Double | scalar |
| 10 | Index | Int32 | start index |
| 11 | Len | Int32 | element count |
Result: stored in self (calling object), returns self for chaining
Overload 13: TMtxVec AddScaled(TMtxVec Vec, Double RScale, Double IScale)
Add each of Vec elements to corresponding elements in the calling object.
| # | Name | Type | Description |
|---|---|---|---|
| 1 | Vec | TMtxVec | source TVec or TMtx |
| 2 | RScale | Double | scalar |
| 3 | IScale | Double | scalar |
Result: stored in self (calling object), returns self for chaining
In addition, the following formula is being used:
result = result+ Cplx(RScale,IScale)*Vec .
When default values for parameters are being used the "normal" addition is being performed. The results are stored in the calling object. Size and Dew.Math.TMtxVec.Complex properties of the calling object are set implicitly to match the Vec object.