Stan Math Library  2.20.0
reverse mode automatic differentiation
Namespaces | Functions
categorical_logit_glm_lpmf.hpp File Reference
#include <stan/math/prim/meta.hpp>
#include <stan/math/prim/scal/err/check_bounded.hpp>
#include <stan/math/prim/scal/err/check_consistent_size.hpp>
#include <stan/math/prim/scal/fun/size_zero.hpp>
#include <Eigen/Core>

Go to the source code of this file.

Namespaces

 stan
 
 stan::math
 Matrices and templated mathematical functions.
 

Functions

template<bool propto, typename T_y , typename T_x_scalar , int T_x_rows, typename T_alpha_scalar , typename T_beta_scalar >
return_type< T_x_scalar, T_alpha_scalar, T_beta_scalar >::type stan::math::categorical_logit_glm_lpmf (const T_y &y, const Eigen::Matrix< T_x_scalar, T_x_rows, Eigen::Dynamic > &x, const Eigen::Matrix< T_alpha_scalar, Eigen::Dynamic, 1 > &alpha, const Eigen::Matrix< T_beta_scalar, Eigen::Dynamic, Eigen::Dynamic > &beta)
 Returns the log PMF of the Generalized Linear Model (GLM) with categorical distribution and logit (softmax) link function. More...
 
template<typename T_y , typename T_x_scalar , int T_x_rows, typename T_alpha_scalar , typename T_beta_scalar >
return_type< T_x_scalar, T_alpha_scalar, T_beta_scalar >::type stan::math::categorical_logit_glm_lpmf (const T_y &y, const Eigen::Matrix< T_x_scalar, T_x_rows, Eigen::Dynamic > &x, const Eigen::Matrix< T_alpha_scalar, Eigen::Dynamic, 1 > &alpha, const Eigen::Matrix< T_beta_scalar, Eigen::Dynamic, Eigen::Dynamic > &beta)
 

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