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

◆ log_softmax() [2/5]

template<typename Vec , require_eigen_vector_vt< is_fvar, Vec > * = nullptr>
auto stan::math::log_softmax ( Vec &&  x)
inline

Return the log softmax of the specified vector of fvar values.

Template Parameters
VecEigen vector with fvar scalar
Parameters
xvector to transform
Returns
log softmax of the vector
Exceptions
std::domain_errorif the input size is 0

Definition at line 39 of file log_softmax.hpp.