TOpenCLVector::DownSample Method

Overload List

#SignatureDescription
1TOpenCLMtxVec *DownSample(TOpenCLMtxVec *Src, int Factor, int SrcIndex, int Index, int Len, int Phase = 0);Downsamples object values.
2TOpenCLVector *DownSample(TOpenCLMtxVec *Src, int Factor, int Phase = 0);Downsamples vector values.

Overload 1: TOpenCLMtxVec *DownSample(TOpenCLMtxVec *Src, int Factor, int SrcIndex, int Index, int Len, int Phase = 0);

Downsamples object values.

#NameTypeDescription
1SrcTOpenCLMtxVec *
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 TOpenCLBase::Complex properties of the calling object are set implicitly. An exception is raised if array borders are overrun/underrun.

See Also: TOpenCLVector::UpSample
Declared in Dew::Math::TOpenCLMtxVec · Dew.Math/clMtxVec.h · Cross-compiler

Overload 2: TOpenCLVector *DownSample(TOpenCLMtxVec *Src, int Factor, int Phase = 0);

Downsamples vector values.

#NameTypeDescription
1SrcTOpenCLMtxVec *
2Factorint
3Phase = 0int
Remarks:

The methods copies only every Factor sample from the Src vector to the calling vector. The TOpenCLBase::Length and TOpenCLBase::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: TOpenCLVector::UpSample, TOpenCLVector::UpSample
Declared in Dew::Math::TOpenCLVector · Dew.Math/clMtxVec.h · Cross-compiler