![]() |
Stan Math Library
2.14.0
reverse mode automatic differentiation
|
#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... | |