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

Go to the source code of this file.

Namespaces

 stan
 Probability, optimization and sampling library.
 
 stan::agrad
 Function gradients via reverse-mode automatic differentiation.
 

Functions

Eigen::Matrix< var,
Eigen::Dynamic, 1 > 
stan::agrad::log_softmax (const Eigen::Matrix< var, Eigen::Dynamic, 1 > &alpha)
 Return the softmax of the specified Eigen vector. More...
 

Variable Documentation

vari** alpha_

Definition at line 20 of file log_softmax.hpp.

const int idx_

Definition at line 23 of file log_softmax.hpp.

const int size_

Definition at line 22 of file log_softmax.hpp.

const double* softmax_alpha_

Definition at line 21 of file log_softmax.hpp.


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