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

◆ square() [6/8]

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

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

Template Parameters
ContainerType of x
Parameters
xContainer
Returns
Each value in x squared.

Definition at line 68 of file square.hpp.