clVector::DownSample Method

TOpenCLVector *DownSample(TOpenCLMtxVec *Src, int Factor, int Phase = 0) const;

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: clVector::UpSample, TOpenCLVector::UpSample
Declared in Dew::Math::clVector · Dew.Math/clMtxExpr.h · Cross-compiler