TMtx::DownSample Method

TMtxVec *DownSample(TMtxVec *Src, int Factor, int SrcIndex, int Index, int Len, int Phase = 0);

Downsamples object values.

#NameTypeDescription
1SrcTMtxVec *
2Factorint
3SrcIndexint
4Indexint
5Lenint
6Phase = 0int
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 TMtx::Complex properties of the calling object are set implicitly. An exception is raised if array borders are overrun/underrun.

See Also: TMtx::UpSample
Declared in Dew::Math::TDenseMtxVec · Dew.Math/AbstractMtxVec.h · Cross-compiler