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

◆ inv_sqrt() [5/7]

template<typename Container , require_not_container_st< std::is_arithmetic, Container > * = nullptr, require_not_var_matrix_t< Container > * = nullptr, require_not_stan_scalar_t< Container > * = nullptr, require_all_not_nonscalar_prim_or_rev_kernel_expression_t< Container > * = nullptr>
auto stan::math::inv_sqrt ( const Container &  x)
inline

Return the elementwise 1 / sqrt(x)} of the specified argument, which may be a scalar or any Stan container of numeric scalars.

Template Parameters
Containertype of container
Parameters
xcontainer
Returns
inverse square root of each value in x.

Definition at line 48 of file inv_sqrt.hpp.