Stan Math Library  2.12.0
reverse mode automatic differentiation
Namespaces | Functions
log_softmax.hpp File Reference
#include <stan/math/prim/arr/err/check_nonzero_size.hpp>
#include <stan/math/prim/mat/fun/Eigen.hpp>
#include <stan/math/prim/mat/fun/log_sum_exp.hpp>
#include <cmath>
#include <sstream>
#include <stdexcept>

Go to the source code of this file.

Namespaces

 stan
 
 stan::math
 Matrices and templated mathematical functions.
 

Functions

template<typename T >
Eigen::Matrix< T, Eigen::Dynamic, 1 > stan::math::log_softmax (const Eigen::Matrix< T, Eigen::Dynamic, 1 > &v)
 Return the natural logarithm of the softmax of the specified vector. More...
 

     [ Stan Home Page ] © 2011–2016, Stan Development Team.