Stan Math Library
4.9.0
Automatic Differentiation
|
return_type_t< T_y_cl, T_shape_cl, T_scale_cl > stan::math::frechet_lpdf | ( | const T_y_cl & | y, |
const T_shape_cl & | alpha, | ||
const T_scale_cl & | sigma | ||
) |
The log of the frechet density for the specified scalar(s) given the specified sample stan::math::size(s).
y, alpha, 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/alpha/sigma triple.
T_y_cl | type of scalar outcome |
T_shape_cl | type of shape |
T_scale_cl | type of scale |
y | (Sequence of) scalar(s). |
alpha | shape |
sigma | scale |
Definition at line 39 of file frechet_lpdf.hpp.