You are here: Symbol Reference > MtxExpr Namespace > Classes > Matrix Record > public > Matrix.DownSample Method
MtxVec VCL
ContentsIndex
PreviousUpNext
Matrix.DownSample Method

Downsamples object values.

Pascal
function DownSample(const Src: TMtxVec; Factor: integer; SrcIndex: integer; Index: integer; Len: integer; Phase: integer = 0): TMtxVec; 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 Complex properties 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!