TMtxVec DownSample(TMtxVec Src, Int32 Factor, Int32 SrcIndex, Int32 Index, Int32 Len, Int32 Phase)
Downsamples object values.
| # | Name | Type | Description |
|---|---|---|---|
| 1 | Src | TMtxVec | source TVec or TMtx |
| 2 | Factor | Int32 | |
| 3 | SrcIndex | Int32 | source start index |
| 4 | Index | Int32 | start index |
| 5 | Len | Int32 | element count |
| 6 | Phase | Int32 |
Result: stored in self (calling object), returns self for chaining
Remarks:
Copy only every Factor sample from Src starting at SrcIndex up to Len to the calling object starting at Index. The phase parameter determines the initial sample offset. Phase must be less then Factor. Size and Dew.Math.TMtxVec.Complex properties of the calling object are set implicitly. An exception is raised if array borders are overrun/underrun.