Stan Math Library
4.9.0
Automatic Differentiation
|
return_type_t< T_y > stan::math::std_normal_lpdf | ( | const T_y & | y | ) |
The log of the normal density for the specified scalar(s) given a location of 0 and a scale of 1.
y can be either a scalar or a vector.
The result log probability is defined to be the sum of the log probabilities for each observation.
T_y | type of scalar |
y | (Sequence of) scalar(s). |
std::domain_error | if any scalar is nan. |
Definition at line 32 of file std_normal_lpdf.hpp.