|
MayaFlux 1.0.0
Digital-First Multimedia Processing Framework
|
| MAYAFLUX_API std::vector< double > MayaFlux::Kinesis::Discrete::truth_table_state | ( | size_t | arity, |
| uint64_t | rule | ||
| ) |
Builds the array truth_table reads.
| arity | Number of history bits, at most 6 |
| rule | Output for each input pattern; bit i is the output when the pattern, with history[0] as the lowest bit, equals i |
Layout: [arity, outputs...], 2^arity outputs of 0 or 1. For larger arities write the array directly.
Definition at line 33 of file Boolean.cpp.