#include "dist.h"
#include <itpp/itbase.h>
#include <itpp/itcomm.h>
#include <stdio.h>
#include "weilei_lib.h"
#include <cmath>
Go to the source code of this file.
|
itpp::bvec | reduce_weight (itpp::bvec e, itpp::GF2mat G) |
|
itpp::bvec | qllr_to_bvec (itpp::QLLRvec llr, int bound) |
|
itpp::GF2mat | read_one_matrix (char *filename_prefix, char *type, char *filename_suffix) |
|
int | check_matrices (itpp::GF2mat *G, itpp::GF2mat *H, itpp::GF2mat *U, itpp::GF2mat *W, itpp::mat *K) |
|
int | remove_rows (itpp::GF2mat *G, itpp::bvec rows_to_remove) |
|
int | remove_cols (itpp::GF2mat *G, itpp::bvec cols_to_remove) |
|
int | remove_cols_mat (itpp::mat *G, itpp::bvec cols_to_remove) |
|
bool | check_row_weight (itpp::GF2mat *H) |
|
int | reduce_matrices (itpp::GF2mat *G, itpp::GF2mat *H, itpp::GF2mat *U, itpp::GF2mat *W, itpp::mat *K) |
|
int | read_matrices_for_partial_sum (char *filename_prefix, char *filename_suffix, itpp::GF2mat *G, itpp::GF2mat *H, itpp::GF2mat *U, itpp::GF2mat *W, itpp::mat *K) |
|
◆ check_matrices()
int check_matrices |
( |
itpp::GF2mat * |
G, |
|
|
itpp::GF2mat * |
H, |
|
|
itpp::GF2mat * |
U, |
|
|
itpp::GF2mat * |
W, |
|
|
itpp::mat * |
K |
|
) |
| |
◆ check_row_weight()
bool check_row_weight |
( |
itpp::GF2mat * |
H | ) |
|
◆ qllr_to_bvec()
itpp::bvec qllr_to_bvec |
( |
itpp::QLLRvec |
llr, |
|
|
int |
bound |
|
) |
| |
◆ read_matrices_for_partial_sum()
int read_matrices_for_partial_sum |
( |
char * |
filename_prefix, |
|
|
char * |
filename_suffix, |
|
|
itpp::GF2mat * |
G, |
|
|
itpp::GF2mat * |
H, |
|
|
itpp::GF2mat * |
U, |
|
|
itpp::GF2mat * |
W, |
|
|
itpp::mat * |
K |
|
) |
| |
◆ read_one_matrix()
itpp::GF2mat read_one_matrix |
( |
char * |
filename_prefix, |
|
|
char * |
type, |
|
|
char * |
filename_suffix |
|
) |
| |
◆ reduce_matrices()
int reduce_matrices |
( |
itpp::GF2mat * |
G, |
|
|
itpp::GF2mat * |
H, |
|
|
itpp::GF2mat * |
U, |
|
|
itpp::GF2mat * |
W, |
|
|
itpp::mat * |
K |
|
) |
| |
◆ reduce_weight()
itpp::bvec reduce_weight |
( |
itpp::bvec |
e, |
|
|
itpp::GF2mat |
G |
|
) |
| |
◆ remove_cols()
int remove_cols |
( |
itpp::GF2mat * |
G, |
|
|
itpp::bvec |
cols_to_remove |
|
) |
| |
◆ remove_cols_mat()
int remove_cols_mat |
( |
itpp::mat * |
G, |
|
|
itpp::bvec |
cols_to_remove |
|
) |
| |
◆ remove_rows()
int remove_rows |
( |
itpp::GF2mat * |
G, |
|
|
itpp::bvec |
rows_to_remove |
|
) |
| |