![]()  | 
  
    Stan Math Library
    5.1.0
    
   Automatic Differentiation 
   | 
   
      
  | 
  inline | 
The log of the lognormal density for the specified scalar(s) given the specified sample stan::math::size(s).
y, mu, or sigma can each either be scalar or a vector on OpenCL device. 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/mu/sigma triple.
| T_y_cl | type of scalar outcome | 
| T_loc_cl | type of prior scale for successes | 
| T_scale_cl | type of prior scale for failures | 
| y | (Sequence of) scalar(s). | 
| mu | (Sequence of) prior sample stan::math::size(s). | 
| sigma | (Sequence of) prior sample stan::math::size(s). | 
Definition at line 40 of file lognormal_lpdf.hpp.