Automatic Differentiation
 
Loading...
Searching...
No Matches

◆ wiener5_compute_error_term()

template<typename T_y , typename T_a , typename T_v , typename T_w , typename T_sv >
auto stan::math::internal::wiener5_compute_error_term ( T_y &&  y,
T_a &&  a,
T_v &&  v_value,
T_w &&  w_value,
T_sv &&  sv 
)
inlinenoexcept

Calculate the 'error_term' term for a wiener5 density or gradient.

Template Parameters
T_ytype of scalar variable
T_atype of boundary separation
T_vtype of drift rate
T_wtype of relative starting point
T_svtype of inter-trial variability in v
Parameters
yA scalar variable; the reaction time in seconds
aThe boundary separation
v_valueThe drift rate
w_valueThe relative starting point
svThe inter-trial variability of the drift rate
Returns
'error_term' term

Definition at line 30 of file wiener5_lpdf.hpp.