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

◆ erf() [4/6]

template<typename T , require_all_not_nonscalar_prim_or_rev_kernel_expression_t< T > * = nullptr, require_not_var_matrix_t< T > * = nullptr>
auto stan::math::erf ( const T &  x)
inline

Returns the elementwise erf() of the input, which may be a scalar or any Stan container of numeric scalars.

Template Parameters
Ttype of container
Parameters
xcontainer
Returns
Error function applied to each value in x.

Definition at line 38 of file erf.hpp.