Vector::UpSample Method

Overload List

#SignatureDescription
1TMtxVec *UpSample(TMtxVec *Src, int Factor, int SrcIndex, int Index, int Len, int Phase = 0) const;Inserts zeroes between consecutive array values.
2TVec *UpSample(TMtxVec *Src, int Factor, int Phase = 0) const;Inserts zeroes between consecutive vector values.

Overload 1: 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 Vector::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: Vector::DownSample
Declared in Dew::Math::Vector · Dew.Math/MtxExpr.h · Cross-compiler

Overload 2: TVec *UpSample(TMtxVec *Src, int Factor, int Phase = 0) const;

Inserts zeroes between consecutive vector values.

#NameTypeDescription
1SrcTMtxVec *
2Factorint
3Phase = 0int
Remarks:

Inserts zeroes between consecutive vector values. The method copies the values from Src to the calling vector and places Factor-1 zeros between consecutive values. The Vector::Length and Vector::Complex properties of the calling vector are set implicitly. Phase parameter defines the initial sample offset and must be less than Factor.

See Also: Vector::PixelDownSample, Vector::DownSample, Vector::UpSample
Declared in Dew::Math::Vector · Dew.Math/MtxExpr.h · Cross-compiler