Stan  2.5.0
probability, sampling & optimization
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Namespaces | Functions
softmax.hpp File Reference
#include <stan/math/error_handling/matrix/check_nonzero_size.hpp>
#include <cmath>
#include <stan/math/matrix/Eigen.hpp>

Go to the source code of this file.

Namespaces

 stan
 Probability, optimization and sampling library.
 
 stan::math
 Matrices and templated mathematical functions.
 

Functions

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

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