Header file for adp-xor.cc:
More...
Go to the source code of this file.
Sum of non-zero elements in one column of the matrices.
Initial state for computing the S-function.
Number of state values in the S-function.
#define ADP_XOR_NINPUTS 2 |
Number of inputs to the XOR operation.
#define ADP_XOR_NMATRIX 8 |
Number of matrices.
Normalization factor for the matrices.
double adp_xor |
( |
gsl_matrix * |
A[2][2][2], |
|
|
const WORD_T |
da, |
|
|
const WORD_T |
db, |
|
|
const WORD_T |
dc |
|
) |
| |
void adp_xor_alloc_matrices |
( |
gsl_matrix * |
A[2][2][2] | ) |
|
Allocate memory for the transition probability matrices for .
- Parameters
-
A | transition probability matrices for . |
- See Also
- adp_xor_free_matrices
double adp_xor_exper |
( |
const WORD_T |
da, |
|
|
const WORD_T |
db, |
|
|
const WORD_T |
dc |
|
) |
| |
void adp_xor_free_matrices |
( |
gsl_matrix * |
A[2][2][2] | ) |
|
Free memory reserved by a previous call to adp_xor_alloc_matrices.
- Parameters
-
A | transition probability matrices for . |
void adp_xor_normalize_matrices |
( |
gsl_matrix * |
A[2][2][2] | ) |
|
Transform the elements of A into probabilities.
- Parameters
-
A | transition probability matrices for . |
void adp_xor_print_matrices |
( |
gsl_matrix * |
A[2][2][2] | ) |
|
Print the matrices for .
- Parameters
-
A | transition probability matrices for . |
void adp_xor_print_matrices_sage |
( |
gsl_matrix * |
A[2][2][2] | ) |
|
Print the matrices for in a format readable by the computer algebra system Sage (http://www.sagemath.org/).
- Parameters
-
A | transition probability matrices for . |
void adp_xor_sf |
( |
gsl_matrix * |
A[2][2][2] | ) |
|