Overload List
| # | Signature | Description |
|---|---|---|
| 1 | TVec SetCplx(TCplx[] A) | Sets vector values (complex). |
| 2 | TMtxVec SetCplx(Int32 Index, TCplx[] A) | Sets object complex values. |
Overload 1: TVec SetCplx(TCplx[] A)
Sets vector values (complex).
| # | Name | Type | Description |
|---|---|---|---|
| 1 | A | TCplx[] |
Result: stored in self (calling object), returns self for chaining
Remarks:
Sets the Dew.Math.TMtxVecBase.Length property of the calling vector to (High(A)+1) and the Dew.Math.TMtxVec.Complex property to true. The complex elements of A array are copied to the calling vector CValues.
Note
Use this method for complex array only.
Overload 2: TMtxVec SetCplx(Int32 Index, TCplx[] A)
Sets object complex values.
| # | Name | Type | Description |
|---|---|---|---|
| 1 | Index | Int32 | start index |
| 2 | A | TCplx[] |
Result: stored in self (calling object), returns self for chaining
Remarks:
The a array complex values are copied to the calling object CValues from [Index]..[Index+Length(a)-1]. An exception is raised if calling object array borders are overrun/underrun.
Note
Use this method for complex array only.