TVecSmallInt.GroupCountIteration Method

TVecInt GroupCountIteration(TMtxVecInt SrcBins, Int32 SrcBinsMax)

Counts groups of equal numbers within Bins.

#NameTypeDescription
1SrcBinsTMtxVecIntsource TVecInt or TMtxInt
2SrcBinsMaxInt32

Result: stored in self (calling object), returns self for chaining

Remarks:

The routine checks the size of the calling object, if it is equal to SrcBinsMax+1, and raises an exception, if not. The rouine does not size the calling object and also does not perform initialization to zero. It can be used for iterative calls to fill the same histogram.