PROLEAD
A Probing-Based Leakage Detection Tool for Hardware and Software
Loading...
Searching...
No Matches
Classes | Namespaces | Functions
Util.hpp File Reference
#include <time.h>
#include <vector>
#include <cmath>
#include <numeric>
#include <boost/math/distributions/chi_squared.hpp>
#include <boost/math/distributions/inverse_chi_squared.hpp>
#include <boost/math/distributions/non_central_chi_squared.hpp>

Go to the source code of this file.

Classes

struct  Util::TableEntryStruct
 Defines one entry of a contingency table. More...
 
struct  Util::ContingencyTableStruct
 Defines a contingency table. More...
 

Namespaces

namespace  Util
 

Functions

double Util::GetGValue (unsigned int, unsigned int, ContingencyTableStruct &, std::vector< double >, unsigned int, unsigned int &)
 Computes the G-value.
 
void Util::GTest (unsigned int, unsigned int, ContingencyTableStruct &, std::vector< double >)
 Computes the p-value.
 
void Util::StartClock (timespec &)
 
double Util::EndClock (timespec &)