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

◆ angular_velocity() [2/2]

float MayaFlux::Kinesis::angular_velocity ( std::span< const float >  headings,
double  dt 
)
inlinenoexcept

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

Definition at line 707 of file Differential.hpp.

708{
709 return angular_velocity(to_history(headings), dt);
710}
Memory::HistoryBuffer< T > to_history(std::span< const T > samples) noexcept
Build a HistoryBuffer<T> from a newest-first span.
float angular_velocity(const Memory::HistoryBuffer< float > &headings, double dt) noexcept
Angular velocity from consecutive headings in a HistoryBuffer.

References angular_velocity(), and to_history().

+ Here is the call graph for this function: