Automatic Differentiation
 
Loading...
Searching...
No Matches
matrix_normal_prec_log.hpp
Go to the documentation of this file.
1#ifndef STAN_MATH_PRIM_PROB_MATRIX_NORMAL_PREC_LOG_HPP
2#define STAN_MATH_PRIM_PROB_MATRIX_NORMAL_PREC_LOG_HPP
3
7
8namespace stan {
9namespace math {
31template <bool propto, typename T_y, typename T_Mu, typename T_Sigma,
32 typename T_D,
33 require_all_matrix_t<T_y, T_Mu, T_Sigma, T_D>* = nullptr>
35 const T_y& y, const T_Mu& Mu, const T_Sigma& Sigma, const T_D& D) {
36 return matrix_normal_prec_lpdf<propto, T_y, T_Mu, T_Sigma, T_D>(y, Mu, Sigma,
37 D);
38}
39
43template <typename T_y, typename T_Mu, typename T_Sigma, typename T_D,
46 const T_y& y, const T_Mu& Mu, const T_Sigma& Sigma, const T_D& D) {
47 return matrix_normal_prec_lpdf<T_y, T_Mu, T_Sigma, T_D>(y, Mu, Sigma, D);
48}
49
50} // namespace math
51} // namespace stan
52#endif
require_all_t< is_matrix< std::decay_t< Types > >... > require_all_matrix_t
Require all of the types satisfy is_matrix.
Definition is_matrix.hpp:38
return_type_t< T_y, T_Mu, T_Sigma, T_D > matrix_normal_prec_log(const T_y &y, const T_Mu &Mu, const T_Sigma &Sigma, const T_D &D)
The log of the matrix normal density for the given y, mu, Sigma and D where Sigma and D are given as ...
typename return_type< Ts... >::type return_type_t
Convenience type for the return type of the specified template parameters.
The lgamma implementation in stan-math is based on either the reentrant safe lgamma_r implementation ...
Definition fvar.hpp:9