Unit Conversion and Dimensional Analysis Library
2.3.0
A compile-time c++14 unit conversion library
|
Trait which tests that class T
meets the requirements for a non-linear scale.
More...
#include <units.h>
Trait which tests that class T
meets the requirements for a non-linear scale.
A non-linear scale must:
operator()
member which returns the non-linear value stored in the scalem_value
member type which stores the linearized value in the scale.Linear/nonlinear scales are used by units::unit
to store values and scale them if they represent things like dB.