You are here: Symbol Reference > clMtxVec Namespace > Classes > TOpenCLMtxVec Class > public > TOpenCLMtxVec.DownSample Method
MtxVec VCL
ContentsIndex
PreviousUpNext
TOpenCLMtxVec.DownSample Method

Downsamples object values.

Pascal
function DownSample(const Src: TOpenCLMtxVec; Factor: integer; SrcIndex: integer; Index: integer; Len: integer; Phase: integer = 0): TOpenCLMtxVec; overload;

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.ComplexComplexproperties of the calling object are set implicitly. An exception is raised if array borders are overrun/underrun.

Copyright (c) 1999-2025 by Dew Research. All rights reserved.
What do you think about this topic? Send feedback!