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

◆ inv_square() [4/6]

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

Returns 1 / square(x).

Template Parameters
Containertype of container
Parameters
xcontainer
Returns
1 / square(x) of each value in x.

Definition at line 23 of file inv_square.hpp.