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

◆ inv_square() [5/6]

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

Version of inv_square() that accepts Eigen Matrix/Array objects or expressions.

Template Parameters
TType of x
Parameters
xEigen Matrix/Array or expression
Returns
1 / the square of each value in x.

Definition at line 37 of file inv_square.hpp.