|
MayaFlux 1.0.0
Digital-First Multimedia Processing Framework
|
| MAYAFLUX_API std::vector< double > MayaFlux::Kinesis::Discrete::bernoulli_gate_state | ( | double | probability, |
| uint32_t | seed = 0, |
||
| double | threshold = 0.5 |
||
| ) |
Builds the array bernoulli_gate reads and writes.
| probability | Chance each pulse passes, 0 to 1 |
| seed | Generator state; zero selects a fixed seed |
| threshold | Level the input must rise through |
Layout: [threshold, latched, probability, state, pass].
Definition at line 124 of file Boolean.cpp.
References threshold.