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

logistic_sigmoid
PrevUpHomeNext
Synopsis
#include <boost/math/special_functions/logistic_sigmoid.hpp>

namespace boost { namespace math {

template <typename RealType, typename Policy>
RealType logistic_sigmoid(RealType x, const Policy&);

template <typename RealType>
RealType logistic_sigmoid(RealType x)

}} // namespaces
Description

Returns the logistic sigmoid function This function is broadly useful, and is used to compute the CDF of the logistic distribution. It is also sometimes referred to as expit as it is the inverse of the logit function.


PrevUpHomeNext