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

Inserts zeroes between consecutive array values.

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

Copy Len values from Src starting at SrcIndex to the calling object starting at position Index and place Factor-1 zeros between consecutive values. Size and TOpenCLBase.ComplexComplexproperties of the calling object must be set explicitly. Phase parameter defines the initial sample offset and must be less then Factor. 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!