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

◆ inv() [5/6]

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

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

Template Parameters
ContainerType of x
Parameters
xContainer
Returns
1 divided by each value in x.

Definition at line 53 of file inv.hpp.