Loading [MathJax]/extensions/TeX/AMSsymbols.js
Automatic Differentiation
 
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
Loading...
Searching...
No Matches

◆ inv_logit() [6/8]

template<typename Container , require_container_bt< std::is_arithmetic, Container > * = nullptr, require_all_not_nonscalar_prim_or_rev_kernel_expression_t< Container > * = nullptr>
auto stan::math::inv_logit ( Container &&  x)
inline

Vectorized version of inv_logit() for containers with arithmetic scalar types.

Template Parameters
TA type of either std::vector or a type that directly inherits from Eigen::DenseBase. The inner scalar type must not have an auto diff scalar type.
Parameters
xEigen expression
Returns
Inverse logit applied to each value in x.

Definition at line 106 of file inv_logit.hpp.