-
Notifications
You must be signed in to change notification settings - Fork 95
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
docs(ref): document more of mp_units.core
#662
base: master
Are you sure you want to change the base?
Conversation
math.h
mp_units.core
% Should this come before the above, like in the C++ standard? | ||
\rSec4[qty.rand.bern.geo]{Class template \tcode{geometric_distribution}} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
See the comment.
In the C++ Standard, geometric_distribution
comes between
binomial_distribution
and negative_binomial_distribution
.
\indexlibrarymemberx{extreme_value_distribution}{operator()} | ||
\begin{itemdecl} | ||
template<typename Generator> | ||
Q operator()(Generator& g); | ||
\end{itemdecl} | ||
|
||
\begin{itemdescr} | ||
\pnum | ||
\effects | ||
Equivalent to: | ||
\tcode{return Q(base::operator()(g));} | ||
\end{itemdescr} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can I get rid of these optimizations?
The requirements should be equivalent.
However, I don't see that Q::unit
is required to be mp_units::one
.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
One of our contributors provided this code. I did a short review but never had time to analyze all the generators properly. If you see any issues, please do not hesitate to fix them or create a new Issue with the list of things to do.
\item | ||
Otherwise, no effect. | ||
\begin{note} | ||
UTF-8 text can't be copied to \tcode{CharT} output. | ||
\end{note} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This should be a constraint (that CharT
be either char
or char8_t
).
This is still a WIP (continues #628):
TBDs and still missing:
magnitude-symbol
.Representation
concepts.sudo_cast
.system_reference
math.h
random.h