Automatic Differentiation
 
Loading...
Searching...
No Matches
std_normal_log.hpp
Go to the documentation of this file.
1#ifndef STAN_MATH_PRIM_PROB_STD_NORMAL_LOG_HPP
2#define STAN_MATH_PRIM_PROB_STD_NORMAL_LOG_HPP
3
6
7namespace stan {
8namespace math {
9
24template <bool propto, typename T_y>
26 return std_normal_lpdf<propto, T_y>(y);
27}
28
32template <typename T_y>
33inline return_type_t<T_y> std_normal_log(const T_y& y) {
34 return std_normal_lpdf<T_y>(y);
35}
36
37} // namespace math
38} // namespace stan
39#endif
return_type_t< T_y > std_normal_log(const T_y &y)
The log of a standard normal density for the specified scalar(s).
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