|
MayaFlux 1.0.0
Digital-First Multimedia Processing Framework
|
| MAYAFLUX_API std::vector< double > MayaFlux::Kinesis::Discrete::state_machine_state | ( | std::span< const double > | table, |
| double | threshold = 0.5, |
||
| size_t | initial = 0 |
||
| ) |
Builds the array state_machine reads and writes.
| table | Per state, four entries: next state and output when the input bit is 0, then next state and output when it is 1 |
| threshold | Level that makes the input bit 1 |
| initial | Starting state |
Layout: [threshold, states, state, table...]. The state count is the table length over four.
Definition at line 169 of file Boolean.cpp.
References threshold.