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_concatenation (GF2mat P[], int max_m, vector< int > dist, char *folder_Cm) |
int | generate (GF2mat P[], int max_m, vector< int > dist, char *folder_Cm) |
int | main (int args, char **argv) |
int check | ( | ) |
Definition at line 369 of file concatenation.c.
int check2 | ( | ) |
Definition at line 415 of file concatenation.c.
GF2mat* extension | ( | GF2mat * | A1_p, |
GF2mat | P, | ||
int | m | ||
) |
Definition at line 120 of file concatenation.c.
GF2mat extensionBj | ( | GF2mat | Aj, |
GF2mat | Ajless, | ||
GF2mat | P | ||
) |
Definition at line 108 of file concatenation.c.
int generate | ( | GF2mat | P[], |
int | max_m, | ||
vector< int > | dist, | ||
char * | folder_Cm | ||
) |
Definition at line 480 of file concatenation.c.
int generate_concatenation | ( | GF2mat | P[], |
int | max_m, | ||
vector< int > | dist, | ||
char * | folder_Cm | ||
) |
Definition at line 460 of file concatenation.c.
GF2mat generate_random_P | ( | double | p, |
int | x, | ||
int | y, | ||
char * | filename | ||
) |
Definition at line 354 of file concatenation.c.
GF2mat get_check | ( | int | generator_flag, |
int | L | ||
) |
Definition at line 96 of file concatenation.c.
GF2mat get_check_code734 | ( | int | L | ) |
Definition at line 43 of file concatenation.c.
GF2mat get_check_code743 | ( | int | L | ) |
Definition at line 61 of file concatenation.c.
GF2mat get_check_rept | ( | int | L | ) |
Definition at line 85 of file concatenation.c.
int main | ( | int | args, |
char ** | argv | ||
) |
Definition at line 506 of file concatenation.c.
int parameterC | ( | GF2mat * | B1, |
int | m, | ||
int | m_max, | ||
vector< int > | dist | ||
) |
Definition at line 295 of file concatenation.c.
vector<int> parameterP | ( | GF2mat | P[], |
int | m | ||
) |
Definition at line 161 of file concatenation.c.
int printNKD | ( | int | nkd[][MAX_M], |
int | m | ||
) |
Definition at line 152 of file concatenation.c.
int saveC | ( | GF2mat * | B1, |
int | m, | ||
char * | folder_Cm | ||
) |
Definition at line 339 of file concatenation.c.