sqrt overloads
Synopses
Declared in <mp‐units/framework/dimension.h>
Computes the square root of a dimension
[[nodiscard]]
consteval
QuantitySpec auto
sqrt(auto d);Computes the square root of a quantity
template<
    auto R,
    typename Rep>
requires requires(Rep v) { sqrt(v); } || requires(Rep v) { std::sqrt(v); }
[[nodiscard]]
constexpr
quantity<sqrt®, Rep>
sqrt(quantity<R, Rep> const& q) noexcept;Return Value
- 
Dimension The result of computation 
- 
QuantitySpec The result of computation 
- 
Unit The result of computation 
- 
Quantity The result of computation 
Parameters
| Name | Description | 
| d | Dimension being the base of the operation | 
| q | Quantity specification being the base of the operation | 
| u | Unit being the base of the operation | 
Created with MrDocs