Stan Math Library
4.9.0
Automatic Differentiation
|
return_type_t< T_y_cl, T_loc_cl, T_scale_cl > stan::math::cauchy_lpdf | ( | const T_y_cl & | y, |
const T_loc_cl & | mu, | ||
const T_scale_cl & | sigma | ||
) |
The log of the Cauchy density for the specified scalar(s) given the specified location parameter(s) and scale parameter(s).
y, mu, or sigma can each either be scalar a vector. 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 location |
T_scale_cl | type of scale |
y | (Sequence of) scalar(s). |
mu | (Sequence of) location(s). |
sigma | (Sequence of) scale(s). |
Definition at line 38 of file cauchy_lpdf.hpp.