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

◆ jerk() [2/2]

template<typename T >
T MayaFlux::Kinesis::jerk ( std::span< const T >  samples,
double  dt 
)
inlinenoexcept

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

Definition at line 630 of file Differential.hpp.

631{
632 return jerk(to_history(samples), dt);
633}
Memory::HistoryBuffer< T > to_history(std::span< const T > samples) noexcept
Build a HistoryBuffer<T> from a newest-first span.
T jerk(const Memory::HistoryBuffer< T > &history, double dt) noexcept
Third difference: rate of change of acceleration.

References jerk(), and to_history().

+ Here is the call graph for this function: