namespace Core::MathUtils

Overview

namespace MathUtils {

// structs

template <typename T>
struct Functions;

template <>
struct Functions<double>;

template <>
struct Functions<float>;

// global functions

template <class T>
T dbToFactor(T db);

template <class T>
T factorToDb(T factor);

} // namespace MathUtils

Detailed Documentation

Global Functions

template <class T>
T dbToFactor(T db)

Convert dB to factor.

template <class T>
T factorToDb(T factor)

Convert factor to dB.