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