LUMIERA.clone/yoshimi-testrunner/src/util/statistic.hpp

57 lines
1.4 KiB
C++
Raw Normal View History

/*
* statistic - helpers for generic statistics calculations
*
* Copyright 2021, Hermann Vosseler <Ichthyostega@web.de>
*
* This file is part of the Yoshimi-Testsuite, which is free software:
* you can redistribute and/or modify it under the terms of the GNU
* General Public License as published by the Free Software Foundation,
* either version 3 of the License, or (at your option) any later version.
*
* Yoshimi-Testsuite is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with yoshimi. If not, see <http://www.gnu.org/licenses/>.
***************************************************************/
/** @file statistic.cpp
** Support for generic statistics calculations.
**
** @todo WIP as of 9/21
**
*/
#ifndef TESTRUNNER_UTIL_STATISTIC_HPP_
#define TESTRUNNER_UTIL_STATISTIC_HPP_
#include "util/error.hpp"
//#include <algorithm>
//#include <cassert>
#include <vector>
//#include <cmath>
namespace util {
//using util::formatVal;
//using std::log10;
//using std::fabs;
//using std::max;
//using std::min;
using VecD = std::vector<double>;
namespace { // Implementation details
}//(End)Implementation namespace
}//(End)namespace util
#endif /*TESTRUNNER_UTIL_STATISTIC_HPP_*/