Stan  1.3
probability, sampling & optimization
 All Classes Namespaces Files Functions Variables Typedefs Enumerator Friends Macros Pages
Namespaces | Functions
softmax.hpp File Reference
#include <boost/math/tools/promotion.hpp>
#include <stdexcept>
#include <boost/throw_exception.hpp>

Go to the source code of this file.

Namespaces

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

Functions

template<typename Vector , typename Scalar >
void stan::math::softmax (const Vector &x, Vector &simplex)
 Write the values of the softmax transformed first argument into the second argument.
 

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