Stan Math Library
4.9.0
Automatic Differentiation
|
return_type_t< T_y, T_loc, T_scale > stan::math::cauchy_lpdf | ( | const T_y & | y, |
const T_loc & | mu, | ||
const T_scale & | 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 | type of scalar outcome |
T_loc | type of location |
T_scale | type of scale |
y | (Sequence of) scalar(s). |
mu | (Sequence of) location(s). |
sigma | (Sequence of) scale(s). |
Definition at line 43 of file cauchy_lpdf.hpp.