Overload List
| # | Signature | Description |
|---|---|---|
| 1 | TMtxVec *UpSample(TMtxVec *Src, int Factor, int SrcIndex, int Index, int Len, int Phase = 0); | Inserts zeroes between consecutive array values. |
| 2 | TVec *UpSample(TMtxVec *Src, int Factor, int Phase = 0); | Inserts zeroes between consecutive vector values. |
Overload 1: TMtxVec *UpSample(TMtxVec *Src, int Factor, int SrcIndex, int Index, int Len, int Phase = 0);
Inserts zeroes between consecutive array values.
| # | Name | Type | Description |
|---|---|---|---|
| 1 | Src | TMtxVec * | |
| 2 | Factor | int | |
| 3 | SrcIndex | int | |
| 4 | Index | int | |
| 5 | Len | int | |
| 6 | Phase = 0 | int |
Copy Len values from Src starting at SrcIndex to the calling object starting at position Index and place Factor-1 zeros between consecutive values. Size and TVec::Complex properties of the calling object must be set explicitly. Phase parameter defines the initial sample offset and must be less then Factor. An exception is raised, if array borders are overrun/underrun.
Overload 2: TVec *UpSample(TMtxVec *Src, int Factor, int Phase = 0);
Inserts zeroes between consecutive vector values.
| # | Name | Type | Description |
|---|---|---|---|
| 1 | Src | TMtxVec * | |
| 2 | Factor | int | |
| 3 | Phase = 0 | int |
Inserts zeroes between consecutive vector values. The method copies the values from Src to the calling vector and places Factor-1 zeros between consecutive values. The TVec::Length and TVec::Complex properties of the calling vector are set implicitly. Phase parameter defines the initial sample offset and must be less than Factor.