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

◆ speed() [4/6]

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

Convenience overload of speed(double) over a raw span, samples[0] newest.

Definition at line 671 of file Differential.hpp.

672{
673 return speed(to_history(samples), dt);
674}
double speed(const Memory::HistoryBuffer< double > &history, double dt) noexcept
Absolute value 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 speed(), and to_history().

+ Here is the call graph for this function: