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

◆ inv() [2/6]

template<typename T_x , typename = require_all_kernel_expressions_and_none_scalar_t<T_x>>
auto stan::math::inv ( T_x &&  x)
inline

Return the elementwise 1.0 / x of the specified argument, which may be a scalar or any Stan container of numeric scalars.

Template Parameters
T_xtype of input kernel generator expression x
Parameters
xInput kernel generator expression.
Returns
elementwise 1.0 / x of the specified argument.

Definition at line 21 of file inv.hpp.