MayaFlux 1.0.0
Digital-First Multimedia Processing Framework
Loading...
Searching...
No Matches

◆ signals_at_least_state()

MAYAFLUX_API std::vector< double > MayaFlux::Kinesis::Discrete::signals_at_least_state ( size_t  k,
double  threshold = 0.5 
)

Builds the array signals_at_least reads.

Parameters
kHow many slots must be high
thresholdLevel that makes a slot a one

Layout: [threshold, k].

Definition at line 294 of file Boolean.cpp.

295{
296 return { threshold, static_cast<double>(k) };
297}
float threshold

References threshold.