double calc_domega(const double *v00, const double *v01, const double *v10, const double *v11) { return (solid_angle(v00, v11, v01) + solid_angle(v11, v00, v10)) / (4 * M_PI); }
Func for_each_dim(Func func) { func(angle()); func(solid_angle()); func(length()); func(mass()); func(time()); func(temperature()); func(electric_current()); func(number_of_cycles()); func(number_of_decays()); func(luminous_intensity()); func(amount_of_substance()); func(amount_of_information()); return std::move(func); }