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

◆ sqrt() [6/9]

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

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

Template Parameters
ContainerType of x
Parameters
xContainer
Returns
Square root of each value in x.

Definition at line 56 of file sqrt.hpp.