CSS product code
0.1
C++ library to estimate distance of CSS codes. Some particular construction of CSS codes are implemented.
|
#include "weilei_lib/my_lib.h"
#include <itpp/itbase.h>
Go to the source code of this file.
Functions | |
GF2mat | get_check_code734 (int L) |
GF2mat | get_check_code743 (int L) |
GF2mat | get_check_rept (int L) |
GF2mat | get_check (int generator_flag, int L) |
GF2mat | extensionBj (GF2mat Aj, GF2mat Ajless, GF2mat P) |
GF2mat * | extension (GF2mat *A1_p, GF2mat P, int m) |
int | printNKD (int nkd[][MAX_M], int m) |
vector< int > | parameterP (GF2mat P[], int m) |
int | parameterC (GF2mat *B1, int m, int m_max, vector< int > dist) |
int | saveC (GF2mat *B1, int m, char *folder_Cm) |
GF2mat | generate_random_P (double p, int x, int y, char *filename) |
int | check () |
int | check2 () |
int | generate (GF2mat P[], int max_m, vector< int > dist, char *folder_Cm) |
int | main (int args, char **argv) |
int check | ( | ) |
Definition at line 417 of file hypergraph.c.
int check2 | ( | ) |
Definition at line 463 of file hypergraph.c.
GF2mat* extension | ( | GF2mat * | A1_p, |
GF2mat | P, | ||
int | m | ||
) |
Definition at line 114 of file hypergraph.c.
GF2mat extensionBj | ( | GF2mat | Aj, |
GF2mat | Ajless, | ||
GF2mat | P | ||
) |
Definition at line 102 of file hypergraph.c.
int generate | ( | GF2mat | P[], |
int | max_m, | ||
vector< int > | dist, | ||
char * | folder_Cm | ||
) |
Definition at line 509 of file hypergraph.c.
GF2mat generate_random_P | ( | double | p, |
int | x, | ||
int | y, | ||
char * | filename | ||
) |
Definition at line 402 of file hypergraph.c.
GF2mat get_check | ( | int | generator_flag, |
int | L | ||
) |
Definition at line 90 of file hypergraph.c.
GF2mat get_check_code734 | ( | int | L | ) |
Definition at line 37 of file hypergraph.c.
GF2mat get_check_code743 | ( | int | L | ) |
Definition at line 55 of file hypergraph.c.
GF2mat get_check_rept | ( | int | L | ) |
Definition at line 79 of file hypergraph.c.
int main | ( | int | args, |
char ** | argv | ||
) |
Definition at line 534 of file hypergraph.c.
int parameterC | ( | GF2mat * | B1, |
int | m, | ||
int | m_max, | ||
vector< int > | dist | ||
) |
Definition at line 344 of file hypergraph.c.
vector<int> parameterP | ( | GF2mat | P[], |
int | m | ||
) |
Definition at line 154 of file hypergraph.c.
int printNKD | ( | int | nkd[][MAX_M], |
int | m | ||
) |
Definition at line 145 of file hypergraph.c.
int saveC | ( | GF2mat * | B1, |
int | m, | ||
char * | folder_Cm | ||
) |
Definition at line 387 of file hypergraph.c.