Automatic Differentiation
 
Loading...
Searching...
No Matches

◆ logit() [7/8]

template<typename Container , require_container_st< std::is_arithmetic, Container > * = nullptr>
auto stan::math::logit ( const Container &  x)
inline

Version of logit() that accepts std::vectors, Eigen Matrix/Array objects or expressions, and containers of these.

Template Parameters
ContainerType of x
Parameters
xContainer
Returns
the logit of each variable in the container.

Note: The return must be evaluated otherwise the Ref object falls out of scope

Definition at line 108 of file logit.hpp.