Stan Math Library
5.1.0
Automatic Differentiation
Loading...
Searching...
No Matches
◆
norm2()
[3/4]
template<typename Container ,
require_eigen_vector_vt
<
is_var
, Container > * = nullptr>
var
stan::math::norm2
(
Container &&
x
)
inline
Returns the L2 norm of a vector of var.
Template Parameters
Container
type of the vector (must have one compile-time dimension equal to 1)
Parameters
[in]
x
Vector.
Returns
L2 norm of x.
Definition at line
24
of file
norm2.hpp
.
stan
math
[
Stan Home Page
]
© 2011–2019, Stan Development Team.