Stan Math Library
4.9.0
Automatic Differentiation
|
|
inline |
Utility function for estimating a function with a given set of arguments, checking the result against a provided error tolerance, and re-estimating the function with the increased error if it fails.
ErrIndex | Position of the error argument in the provided arguments |
GradW7 | Whether the gradient of w is computed |
NestedIndex | Nested position if the error argument is within a tuple |
LogResult | Whether result is on log- or on natural-scale |
F | Type of functor |
T_err | type of error |
ArgsTupleT | Type of tuple of arguments for functor |
functor | Function to apply |
err | Error value to check against |
args_tuple | Tuple of arguments to pass to functor |
Definition at line 632 of file wiener5_lpdf.hpp.