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

◆ wiener5_grad_t()

template<bool WrtLog = false, typename T_y , typename T_a , typename T_w , typename T_v , typename T_sv , typename T_err >
auto stan::math::internal::wiener5_grad_t ( const T_y &  y,
const T_a &  a,
const T_v &  v_value,
const T_w &  w_value,
const T_sv &  sv,
T_err &&  err = log(1e-12) 
)
inlinenoexcept

Calculate the derivative of the wiener5 density w.r.t.

't'

Template Parameters
WrtLogWhether to return the derivative w.r.t. the natural (true) or log-scale (false) density
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
T_errtype of log error
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
errThe log error tolerance
Returns
Gradient w.r.t. t

Definition at line 336 of file wiener5_lpdf.hpp.