6 Commits

Author SHA1 Message Date
Nyall Dawson
e15962eea9 [processing] Use QgsStatisticalSummary for statistic calculations
For BasicStatisticssNumbers and StatisticsByCategories algorithms.
Adds extra stats (minority, majority, 1st/3rd quartile and IQR) while
avoiding custom statistics calculation code.
2015-11-16 15:04:34 +11:00
Nyall Dawson
c49b5b777f Change a lot of arguments to const references in core/gui
Rationale:
- there was a lot of large objects passed by value, so potentially
there's a speed bump from this
- even for implicitly shared classes like QString/QList there's still
a (small) cost for copying the objects when there's no reason to
- it's the right thing to do!
2015-10-07 12:02:04 +11:00
Nyall Dawson
e7b7549c29 [FEATURE] New statistical summary dock widget
Can display summary statistics (eg mean, standard deviation, ...)
for a field or expression from a vector layer.
2015-05-23 04:35:11 +10:00
Juergen E. Fischer
edeafa95ac indentation and minor sip updates 2015-05-03 17:10:32 +02:00
Nyall Dawson
31e8611230 Add quartiles and IQR to QgsStatisticalSummary calculations 2015-05-03 20:48:22 +10:00
Nyall Dawson
154468bd84 Add QgsStatisticalSummary class for calculating stats from a list
of values.
2015-05-02 23:19:39 +10:00