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

◆ wiener4_distribution()

template<bool NaturalScale = false, typename T_y , typename T_a , typename T_w , typename T_v , typename T_err >
auto stan::math::internal::wiener4_distribution ( const T_y &  y,
const T_a &  a,
const T_v &  v,
const T_w &  w,
T_err  log_err = log(1e-12) 
)
inline

Calculate the wiener4 distribution.

Template Parameters
NaturalScaleWhether to return the distribution on natural or log-scale
Parameters
yThe reaction time in seconds
aThe boundary separation
vThe relative starting point
wThe drift rate
log_errThe log error tolerance in the computation of the number of terms for the infinite sums
Returns
distribution

Definition at line 147 of file wiener4_lcdf_defective.hpp.