mp_units::utility::operator+¶
Addition of two uncertain values
Synopsis¶
Declared in <mp-units/utility/uncertain.h>
[[nodiscard]] constexpr uncertain operator+(uncertain const& lhs, uncertain const& rhs);
Description¶
NOTE
Assumes independent values. Formula: σ² = σx² + σy²
Return Value¶
Note
The return value should not be discarded.
Parameters¶
| Name | Description |
|---|---|
| lhs | The left operand |
| rhs | The right operand |