TMtxInt::BitPack Method

Overload List

#SignatureDescription
1TMtxVecInt *BitPack(TMtxVecInt *Src, const int SrcIndex, const int Index, int Len);Converts Src to packed bit storage.
2TMtxInt *BitPack(TMtxInt *Src);Packs integer storage matrix to bit storage.

Overload 1: TMtxVecInt *BitPack(TMtxVecInt *Src, const int SrcIndex, const int Index, int Len);

Converts Src to packed bit storage.

#NameTypeDescription
1SrcTMtxVecInt *
2SrcIndexconst int
3Indexconst int
4Lenint
Remarks:

Returns the result of bit packing the Src values [SrcIndex]..[SrcIndex+Len-1] and stored in the calling object bits from [0]..[0+Len-1]. If Len is not divisable with 32, the remaining bits in the last sample are left at 0. The storage precision of the calling object is set to prInt32. The size of the calling object is adjusted automatically.

Declared in Dew::Math::TMtxVecInt · Dew.Math/AbstractMtxVecInt.h · Cross-compiler

Overload 2: TMtxInt *BitPack(TMtxInt *Src);

Packs integer storage matrix to bit storage.

#NameTypeDescription
1SrcTMtxInt *
Remarks:

All elements are checked only, if they are zero or not.

Declared in Dew::Math::TMtxInt · Dew.Math/MtxVecInt.h · Cross-compiler