Overload List
| # | Signature | Description |
|---|---|---|
| 1 | function SetDouble(AComplex: boolean; const A: array of double): TVec; overload; | Sets vector values (double). |
| 2 | function SetDouble(Index: integer; const A: array of double): TMtxVec; overload; | Sets object values (double). |
| └ indexed: function SetDouble(Index: integer; aIndex, Len: integer; const A: array of double): TMtxVec; overload; |
Overload 1: function SetDouble(AComplex: boolean; const A: array of double): TVec; overload;
Sets vector values (double).
| # | Name | Type | Description |
|---|---|---|---|
| 1 | AComplex | Boolean | |
| 2 | A | array of double |
Result: stored in self (calling object), returns self for chaining
Sets the Vector.Length property of the calling vector to (High(A)+1) and the Vector.Complex property to AComplex. The double elements of A array are copied to the calling vector. If AComplex is True then real parts of complex numbers are on even (0,2,4..)and imaginary parts on odd indexes.(1,3,5,..)
Note
Use this method for setting a double array only.
Overload 2: function SetDouble(Index: integer; const A: array of double): TMtxVec; overload;
Sets object values (double).
| # | Name | Type | Description |
|---|---|---|---|
| 1 | Index | integer | start index |
| 2 | A | array of double |
Result: stored in self (calling object), returns self for chaining
The double elements of A array are copied to the calling object elements [Index]..[Index+Length(A)-1]. An exception is raised if calling object array borders are overrun/underrun.
Note
Use this method for integer array only.
Indexed: function SetDouble(Index: integer; aIndex, Len: integer; const A: array of double): TMtxVec; overload;
| # | Name | Type | Description |
|---|---|---|---|
| 1 | Index | integer | start index |
| 2 | aIndex | integer | |
| 3 | Len | integer | element count |
| 4 | A | array of double |
Result: stored in self (calling object), returns self for chaining