1#ifndef STAN_MATH_PRIM_FUN_PHI_APPROX_HPP
2#define STAN_MATH_PRIM_FUN_PHI_APPROX_HPP
50 static inline auto fun(T&& x) {
require_t< is_container< std::decay_t< T > > > require_container_t
Require type satisfies is_container.
require_all_not_t< is_nonscalar_prim_or_rev_kernel_expression< std::decay_t< Types > >... > require_all_not_nonscalar_prim_or_rev_kernel_expression_t
Require none of the types satisfy is_nonscalar_prim_or_rev_kernel_expression.
require_not_t< is_var_matrix< std::decay_t< T > > > require_not_var_matrix_t
Require type does not satisfy is_var_matrix.
auto pow(const T1 &x1, const T2 &x2)
auto inv_logit(T &&x)
Returns the inverse logit function applied to the argument.
fvar< T > Phi_approx(const fvar< T > &x)
Return an approximation of the unit normal cumulative distribution function (CDF).
The lgamma implementation in stan-math is based on either the reentrant safe lgamma_r implementation ...
static auto fun(T &&x)
Return the approximate value of the Phi() function applied to the argument.
Structure to wrap Phi_approx() so it can be vectorized.
Base template class for vectorization of unary scalar functions defined by a template class F to a sc...