Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Add methods to stats calculators to accept values one at a time
This can be more efficient for large quantities of values, since it avoids the need to create a list of all values in advance
- Loading branch information
Showing
with
416 additions
and 62 deletions.
- +22 −1 python/core/qgsdatetimestatisticalsummary.sip
- +19 −0 python/core/qgsstatisticalsummary.sip
- +40 −3 python/core/qgsstringstatisticalsummary.sip
- +23 −11 src/core/qgsdatetimestatisticalsummary.cpp
- +22 −1 src/core/qgsdatetimestatisticalsummary.h
- +37 −23 src/core/qgsstatisticalsummary.cpp
- +21 −0 src/core/qgsstatisticalsummary.h
- +21 −0 src/core/qgsstringstatisticalsummary.cpp
- +40 −3 src/core/qgsstringstatisticalsummary.h
- +99 −0 tests/src/core/testqgsstatisticalsummary.cpp
- +45 −18 tests/src/python/test_qgsdatetimestatisticalsummary.py
- +27 −2 tests/src/python/test_qgsstringstatisticalsummary.py
Oops, something went wrong.