function GroupCountIteration(const SrcBins: TMtxVecInt; const SrcBinsMax: Integer): TVecInt;
Counts groups of equal numbers within Bins.
| # | Name | Type | Description |
|---|---|---|---|
| 1 | SrcBins | TMtxVecInt | source TVecInt or TMtxInt |
| 2 | SrcBinsMax | Integer |
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.