mp_units::isq_angle¶
The ISQ with angle as a base quantity
Description¶
Experimental. Every quantity of isq that involves an angle is redefined here with an angle dimension, so that torque and angular momentum, for example, carry one. All other quantities are the ones of isq.
using angular::unit_symbols::deg;
using angular::unit_symbols::rad;
const quantity lever = isq_angle::position_vector(20 * cm);
const quantity force = isq_angle::force(500 * N);
const quantity angle = isq_angle::angular_measure(90. * deg);
const quantity torque =
isq_angle::torque(lever * force * angular::sin(angle) / (1 * isq_angle::cotes_angle));
std::cout << torque.in(N * m / rad) << '\n'; // 100 m N/rad
Types¶
Variables¶
Using Namespace Directives¶
| Name | Description |
|---|---|
isq | The International System of Quantities (ISQ) |
See Also¶
- Strong Angular System in the User's Guide
- ISQ Angle System for every entity it defines