Antkeeper  0.0.1
Namespaces | Functions
frequency.hpp File Reference
#include <engine/math/numbers.hpp>

Go to the source code of this file.

Namespaces

 physics
 Physics.
 

Functions

template<class T >
constexpr T physics::hz_to_rads (T f) noexcept
 Converts frequency to angular frequency. More...
 
template<class T >
constexpr T physics::rads_to_hz (T w) noexcept
 Converts angular frequency to frequency. More...
 
template<class T >
constexpr T physics::s_to_rads (T t) noexcept
 Converts oscillation period to angular frequency. More...
 
template<class T >
constexpr T physics::rads_to_s (T w) noexcept
 Converts angular frequency to oscillation period. More...