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

◆ window_comparator()

MAYAFLUX_API bool MayaFlux::Kinesis::Discrete::window_comparator ( const std::vector< double > &  inputs,
std::span< const double >  coefs 
)
noexcept

True while slot 0 lies strictly between slot 1 and slot 2.

Needs no array; the bounds are signals and can move.

Definition at line 287 of file Boolean.cpp.

288{
289 if (inputs.size() < 3)
290 return false;
291 return inputs[0] > inputs[1] && inputs[0] < inputs[2];
292}