SWMMVis  6.0.0-alpha.4
Qt6/C++ GIS-based graphical user interface for the SWMMVis engine (6.0.0-alpha.4)
Loading...
Searching...
No Matches
seriesstatistics.cpp File Reference
#include "plot/seriesstatistics.h"
#include <algorithm>
#include <cmath>
#include <limits>
#include <numeric>
Include dependency graph for seriesstatistics.cpp:

Namespaces

namespace  openswmmvis
 
namespace  openswmmvis::plot
 

Functions

SeriesStatistics openswmmvis::plot::computeStatistics (const std::vector< double > &values)
 Compute summary statistics over values. NaN / Inf samples are skipped. Empty input yields count=0 and all-NaN fields.
 
QString openswmmvis::plot::formatStatisticValue (double value, const NumberFormat &format)
 Format one statistics value using the supplied numeric format. Non-finite values render as an em dash.
 

Detailed Description

Author
Caleb Buahin caleb.nosp@m..bua.nosp@m.hin@g.nosp@m.mail.nosp@m..com
Date
2026
License\n GPL-3.0-or-later