Stan Math Library
4.9.0
Automatic Differentiation
|
|
inline |
Compute the L2 norm of the specified vector of values.
Returns L2 norm of a vector.
T | Type of input vector. |
[in] | x | Vector of specified values. |
For vectors that equals the square-root of the sum of squares of the elements.
Container | type of the vector (must be derived from std::vector ) |
v | Vector. |