Skip to content
Permalink
master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Go to file
 
 
Cannot retrieve contributors at this time
#ifndef __key_rate_utils_HPP
#define __key_rate_utils_HPP
#include <iostream>
#include "utills.hpp"
#include <vector>
#include <map>
#include <cmath>
map<string,double> AtoB, AtoAref, AtoAproj, trueEs;
double s_entropy(vector<double> E1s, vector<double> E2s, vector<double> Ls, int CAD_level);
double calc_s_term(E1s[i])(double E1, double E2, double Lx, int CAD_level);
inline double calc_lambdax(double E1N, double E2N, double big_Lx, int CAD_level);
int H_AB(vector<double> Pij_key);
void generateNoiseStatistics(bool SYM_FLAG, double Q=.11)
#endif