27 #ifndef ADP_XOR_COUNT_ODIFF_H
28 #define ADP_XOR_COUNT_ODIFF_H
30 #define ADP_XOR_COUNT_MSIZE 256
31 #define ADP_XOR_COUNT_NMATRIX_3D 8
32 #define ADP_XOR_COUNT_NMATRIX_2D 4
33 #define ADP_XOR_COUNT_ISTATE 16 // s = 16: 0 0 0 0 1 0 0 0
35 void adp_xor_count_odiff_alloc_matrices_3d(gsl_matrix* P[2][2][2]);
36 void adp_xor_count_odiff_free_matrices_3d(gsl_matrix* P[2][2][2]);
37 void adp_xor_count_odiff_alloc_matrices_2d(gsl_matrix* P[2][2]);
38 void adp_xor_count_odiff_free_matrices_2d(gsl_matrix* P[2][2]);
39 void adp_xor_count_odiff_matrices_3d_to_2d(gsl_matrix* P[2][2][2], gsl_matrix* PP[2][2]);
40 void adp_xor_count_odiff_sf(gsl_matrix* P[2][2][2], gsl_matrix* A[2][2][2]);
41 double adp_xor_count_odiff_3d(gsl_matrix* A[2][2][2], uint32_t da, uint32_t db);
42 double adp_xor_count_odiff_2d(gsl_matrix* A[2][2], uint32_t da, uint32_t db);
43 double adp_xor_count_odiff_exper(
const uint32_t da,
const uint32_t db);
46 #endif // #ifndef ADP_XOR_COUNT_ODIFF_H