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,
const T_w &  w,
const T_sv &  sv,
T_err  log_err = log(1e-12) 
)
inlinenoexcept

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

't'

Template Parameters
WrtLogWhether to return the derivative with respect to the natural (true) or log-scale (false) density
T_ytype of reaction time
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
yThe reaction time in seconds
aThe boundary separation
vThe drift rate
wThe relative starting point
svThe inter-trial variability of the drift rate
log_errThe log error tolerance in the computation of the number of terms for the infinite sums
Returns
Gradient with respect to t

Definition at line 347 of file wiener5_lpdf.hpp.