feat: absolute and relative reference modifiers support added

This commit is contained in:
Mateusz Pusz
2024-06-19 21:10:16 +02:00
parent 5ad14e9492
commit d03482fa1b
15 changed files with 142 additions and 86 deletions
+1 -1
View File
@@ -84,7 +84,7 @@ int main()
const auto t3 = std::make_tuple(isq::energy(q3 * h), isq::wavenumber(q3 / c), q3,
isq::thermodynamic_temperature(q3 * h / kb), isq::wavelength(c / q3));
const auto q4 = isq::thermodynamic_temperature(1. * K);
const auto q4 = isq::thermodynamic_temperature(1. * relative(K));
const auto t4 = std::make_tuple(isq::energy(q4 * kb), isq::wavenumber(q4 * kb / (h * c)), isq::frequency(q4 * kb / h),
q4, isq::wavelength(h * c / (q4 * kb)));