Boost
C++ Libraries
...one of the most highly
regarded and expertly designed C++ library projects in the
world.
— Herb Sutter and Andrei
Alexandrescu, C++
Coding Standards
#include <boost/math/special_functions/logit.hpp> namespace boost { namespace math { template <typename RealType, typename Policy> RealType logit(RealType x, const Policy&); template <typename RealType> RealType logit(RealType x) }} // namespaces
Returns the logit function This function is broadly useful, and is used to compute the Quantile of the logistic distribution. The inverse of this function is the logistic_sigmoid.