Skip to content

mp_units::utility::uncertain::expanded_uncertainty

Returns the expanded uncertainty U = k·σ (GUM 6.2.1)

Synopsis

Declared in <mp-units/utility/uncertain.h>

[[nodiscard]] constexpr value_type expanded_uncertainty(
  value_type coverage_factor = static_cast<value_type>(2)) const;

Return Value

the expanded uncertainty U = k·σ (GUM 6.2.1)

Note

The return value should not be discarded.

Parameters

NameDescription
coverage_factorThe coverage factor k. The default 2 gives a coverage probability of about 95 % for a normal distribution (GUM 6.3.3).