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

◆ direction_sign() [2/2]

double MayaFlux::Kinesis::direction_sign ( std::span< const double >  samples,
double  dt 
)
inlinenoexcept

Convenience overload of direction_sign over a raw span, samples[0] newest.

Definition at line 677 of file Differential.hpp.

678{
679 return direction_sign(to_history(samples), dt);
680}
double direction_sign(const Memory::HistoryBuffer< double > &history, double dt) noexcept
Sign of a scalar first difference.
Memory::HistoryBuffer< T > to_history(std::span< const T > samples) noexcept
Build a HistoryBuffer<T> from a newest-first span.

References direction_sign(), and to_history().

+ Here is the call graph for this function: