[#mp_units-inverse-0d] = xref:mp_units.adoc[mp_units]::inverse :relfileprefix: ../ :mrdocs: Computes the inverse of a dimension. == Synopsis Declared in `<mp‐units/framework/dimension.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- [[nodiscard]] consteval xref:mp_units/Unit.adoc[Unit] auto inverse(auto d); ---- == Return Value `dimension_one / d` [NOTE] ==== The return value https://en.cppreference.com/cpp/language/attributes/nodiscard[should not be discarded^]. ==== == Parameters [cols="1,4"] |=== | Name| Description | *d* | the dimension to invert |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#