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
Containertype of the vector (must have one compile-time dimension equal to 1)
Parameters
[in]xVector.
Returns
L2 norm of x.

Definition at line 24 of file norm2.hpp.