mp_units::utility::operator*¶
Multiplication operator
Synopsis¶
Declared in <mp-units/utility/polar_vector.h>
[[nodiscard]] constexpr polar_vector operator*(polar_vector const& v, Rep const& scalar);
Return Value¶
A 2-D polar coordinate facade: a scalar-quantity radius r and an angle theta from the +x axis (counter-clockwise).
Note
The return value should not be discarded.
Parameters¶
| Name | Description |
|---|---|
| v | The left operand |
| scalar | The right operand |