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

◆ inv_sqrt() [6/7]

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

Version of inv_sqrt() that accepts std::vectors, Eigen Matrix/Array objects or expressions, and containers of these.

Template Parameters
ContainerType of x
Parameters
xContainer
Returns
inverse square root each variable in the container.

Definition at line 62 of file inv_sqrt.hpp.