Matrix::UpSample Method

TMtxVec *UpSample(TMtxVec *Src, int Factor, int SrcIndex, int Index, int Len, int Phase = 0) const;

Inserts zeroes between consecutive array values.

#NameTypeDescription
1SrcTMtxVec *
2Factorint
3SrcIndexint
4Indexint
5Lenint
6Phase = 0int
Remarks:

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 Matrix::Complex properties 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.

See Also: Matrix::DownSample
Declared in Dew::Math::Matrix · Dew.Math/MtxExpr.h · Cross-compiler