libqe-stats 0.1.2
QE C++ library
Loading...
Searching...
No Matches
derivation.hpp File Reference
#include "metrics.hpp"
#include <algorithm>
#include <cmath>
#include <functional>
#include <stdexcept>
#include <string>
#include <vector>

Go to the source code of this file.

Classes

struct  qestats::FormulaRow
 
struct  qestats::CMResult
 

Namespaces

namespace  qestats
 

Functions

std::vector< FormulaRow > qestats::make_formula_table ()
 
const std::vector< FormulaRow > & qestats::formula_table ()
 
std::string qestats::normalize_metric_name (const std::string &n)
 
const FormulaRow * qestats::find_formula (const std::string &v1, const std::string &v2)
 
CMResult qestats::eval_formula (const FormulaRow &row, double v1, double v2, double key)
 
MetricRange qestats::range (const std::string &name1, double val1, const std::string &name2, double val2, const std::string &target)
 
Metrics qestats::derive (const std::string &name1, double val1, const std::string &name2, double val2, const std::string &name3, double val3)
 
Metrics qestats::derive_from_rates (double b1, double fdr, double for_)