CSS product code  0.1
C++ library to estimate distance of CSS codes. Some particular construction of CSS codes are implemented.
weilei_lib.h
Go to the documentation of this file.
1 
5 #ifndef WEILEI_LIB_H
6 #define WEILEI_LIB_H
7 
8 //no namespace
9 #include "mm_read.h" //file to GF2mat
10 #include "mm_write.h" //GF2mat to file
11 
12 //namespace common
13 #include "lib.h" //int to string
14 #include "dist.h" //random window method to clculate distance
15 
16 //#include "concatenation_lib.h"
17 #include "product_lib.h"
18 #include "bp.h"
19 
20 //#include <math.h> //sqrt
21 
22 //#include "bp_decoder.h"
23 
24 
25 //these two constant should not be here
26 //const int MAX_M=6;//maximum of the length of the complex chain
27 //const int INF=999;//infinity distance
28 //const double INF_BP = 1000000;
29 #endif
lib.h
lib for general functions, defined within namespace common
dist.h
distance related functions, defined within namespace common
mm_write.h
product_lib.h
mm_read.h
bp.h