Stan Math Library
4.9.0
Automatic Differentiation
Loading...
Searching...
No Matches
◆
square()
[5/8]
template<typename Container ,
require_not_stan_scalar_t
< Container > * = nullptr,
require_not_container_st
< std::is_arithmetic, Container > * = nullptr,
require_not_var_matrix_t
< Container > * = nullptr,
require_not_nonscalar_prim_or_rev_kernel_expression_t
< Container > * = nullptr>
auto stan::math::square
(
const Container &
x
)
inline
Vectorized version of
square()
.
Template Parameters
Container
type of container
Parameters
x
container
Returns
Each value in x squared.
Definition at line
54
of file
square.hpp
.
stan
math
[
Stan Home Page
]
© 2011–2019, Stan Development Team.