![]()  | 
  
    Stan Math Library
    5.1.0
    
   Automatic Differentiation 
   | 
   
      
  | 
  inline | 
The log of the normal density for the specified scalar(s) given the specified mean(s) and deviation(s).
y, mu, or sigma can each be either a scalar or a vector matrix_cl. Any vector inputs must be the same length.
The result log probability is defined to be the sum of the log probabilities for each observation/mean/deviation triple.
| T_y_cl | type of scalar | 
| T_loc_cl | type of location parameter | 
| T_scale_cl | type of scale parameter | 
| y | (Sequence of) scalar(s). | 
| mu | (Sequence of) location parameter(s) for the normal distribution. | 
| sigma | (Sequence of) scale parameters for the normal distribution. | 
| std::domain_error | if the scale is not positive. | 
Definition at line 40 of file normal_lpdf.hpp.