Overload List
| # | Signature | Description |
|---|---|---|
| 1 | TMtxVec *DownSample(TMtxVec *Src, int Factor, int SrcIndex, int Index, int Len, int Phase = 0) const; | Downsamples object values. |
| 2 | TVec *DownSample(TMtxVec *Src, int Factor, int Phase = 0) const; | Downsamples vector values. |
Overload 1: TMtxVec *DownSample(TMtxVec *Src, int Factor, int SrcIndex, int Index, int Len, int Phase = 0) const;
Downsamples object values.
| # | Name | Type | Description |
|---|---|---|---|
| 1 | Src | TMtxVec * | |
| 2 | Factor | int | |
| 3 | SrcIndex | int | |
| 4 | Index | int | |
| 5 | Len | int | |
| 6 | Phase = 0 | int |
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 Vector::Complex properties of the calling object are set implicitly. An exception is raised if array borders are overrun/underrun.
See Also: Vector::UpSample
Declared in Dew::Math::Vector · Dew.Math/MtxExpr.h · Cross-compiler
Overload 2: TVec *DownSample(TMtxVec *Src, int Factor, int Phase = 0) const;
Downsamples vector values.
| # | Name | Type | Description |
|---|---|---|---|
| 1 | Src | TMtxVec * | |
| 2 | Factor | int | |
| 3 | Phase = 0 | int |
Remarks:
The methods copies only every Factor sample from the Src vector to the calling vector. The Vector::Length and Vector::Complex properties of the calling vector are set implicitly. The phase parameter determines the initial sample offset. Phase must be less than Factor.
See Also: Vector::UpSample, Vector::PixelDownSample
Declared in Dew::Math::Vector · Dew.Math/MtxExpr.h · Cross-compiler