Overload List
| # | Signature | Description |
|---|---|---|
| 1 | TMtxVec *RealToCplx(TMtxVec *ReVec, TMtxVec *ImVec) const; | Constructs a complex object from two real objects. |
| 2 | TMtxVec *RealToCplx(TMtxVec *ReVec, TMtxVec *ImVec, int ReIndex, int ImIndex, int Index, int Len) const; | Construct a complex object from the ReVec elements [ReIndex]..[ReIndex+Len-1] (real part) and the ImVec elements [ImIndex]..[ImIndex+Len-1] (imaginary part). |
Overload 1: TMtxVec *RealToCplx(TMtxVec *ReVec, TMtxVec *ImVec) const;
Constructs a complex object from two real objects.
| # | Name | Type | Description |
|---|---|---|---|
| 1 | ReVec | TMtxVec * | |
| 2 | ImVec | TMtxVec * |
Construct a complex object from the ReVec (real part) and the ImVec (imaginary part) objects. The results are stored in the calling object. Size and Matrix::Complex properties of the calling object are set implicitly to match ReVec and ImVec objects. An exception is raised if ReVec or ImVec Matrix::Complex property is True.
Overload 2: TMtxVec *RealToCplx(TMtxVec *ReVec, TMtxVec *ImVec, int ReIndex, int ImIndex, int Index, int Len) const;
Construct a complex object from the ReVec elements [ReIndex]..[ReIndex+Len-1] (real part) and the ImVec elements [ImIndex]..[ImIndex+Len-1] (imaginary part).
| # | Name | Type | Description |
|---|---|---|---|
| 1 | ReVec | TMtxVec * | |
| 2 | ImVec | TMtxVec * | |
| 3 | ReIndex | int | |
| 4 | ImIndex | int | |
| 5 | Index | int | |
| 6 | Len | int |
The results are stored to calling object elements [Index]..[Index+Len-1]. Size and Matrix::Complex properties of the calling object must be set explicitly. An exception is raised if Matrix::ConditionCheck is True and array borders are overrun. An exception is also raised if ReVec or ImVec Matrix::Complex property is True.